summaryrefslogtreecommitdiff
path: root/Makefile
blob: c9fcefa541ef76697b4b734d43b311c7ed7039c1 (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

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