blob: 13e4de84058e0239b9ab397abe2c540a4e333182 (
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 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
|