blob: e82450e902c5cc7ffaf9bad97e19d0b4567681cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
.POSIX:
CFLAGS=-static -Wall
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
|