blob: ed2bc047de727a84587e85e20ccb67baf3ef88da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
.POSIX:
CFLAGS=-static
OBJECTS=blog.o post.o auth.o index.o
all: blog
blog: $(OBJECTS)
$(CC) $(CFLAGS) -o $@ $(OBJECTS) $(LDFLAGS) $(LIBS)
install: blog
strip blog
doas cp -f blog /var/www/cgi-bin/blog
clean:
rm -f *.o blog
|