summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2020-05-08 23:27:30 +0200
committerLeah Neukirchen <leah@vuxu.org>2020-05-08 23:27:30 +0200
commit88bc37b955d2a46e55c3ea870fd76846f8fe5fbc (patch)
treea0b9f7d45ed41178db3d84641a598e20281abb96
parent78eba2b9099db2abcdddb828b82fcd2d4e5e29d1 (diff)
downloadhittpd-88bc37b955d2a46e55c3ea870fd76846f8fe5fbc.tar.gz
hittpd-88bc37b955d2a46e55c3ea870fd76846f8fe5fbc.tar.xz
hittpd-88bc37b955d2a46e55c3ea870fd76846f8fe5fbc.zip
Makefile: make work with bmake
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f2a101e..4203428 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,10 @@ BINDIR=$(PREFIX)/bin
 MANDIR=$(PREFIX)/share/man
 
 hittpd: $(OBJ)
+	$(CC) $(LDFLAGS) -o $@ $(OBJ) $(LDLIBS)
+
+.c.o:
+	$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
 
 all: $(ALL)