about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-25 01:24:50 -0400
committerJune McEnroe <june@causal.agency>2018-08-25 01:24:50 -0400
commit3d8f04a5577e0556f5be50398db232a407b4ae82 (patch)
treeb5530b1968d0b4d878d44b0eb27e1dad30046945
parentRevert "Explicitly build from .o objects" (diff)
downloadtorus-3d8f04a5577e0556f5be50398db232a407b4ae82.tar.gz
torus-3d8f04a5577e0556f5be50398db232a407b4ae82.zip
Add .o rule for BSD make
Diffstat (limited to '')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 04fa105..9199a7b 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,9 @@ OBJS = $(BINS:%=%.o)
 
 all: tags $(BINS)
 
+.o:
+	$(CC) $(LDFLAGS) $< $(LDLIBS) -o $@
+
 $(OBJS): torus.h
 
 client.o: help.h