summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-07-17 21:25:15 -0400
committerJakob Kaivo <jkk@ung.org>2019-07-17 21:25:15 -0400
commit4de3158c80864aa130ac6f701f4c28a2aa7bbf20 (patch)
tree649e2a229576d36ad56d9602a4a9dfdeab1cc29a /Makefile
parent2bc5ce287a9f15af8e299138f85e2a286708313b (diff)
move HTTP POST handling to separate file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dc379d9..d80c8f2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,13 @@
.POSIX:
CFLAGS=-static
+OBJECTS=blog.o post.o
all: blog
+blog: $(OBJECTS)
+ $(CC) $(CFLAGS) -o $@ $(OBJECTS) $(LDFLAGS) $(LIBS)
+
install: blog
strip blog
doas cp -f blog /var/www/cgi-bin/blog