summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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