summary refs log tree commit diff homepage
path: root/Makefile
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
commit6241cd6c503f6166f4ab365c000de194749a7101 (patch)
tree50362e6f5522c49ba0d6a2d07d17c8d7c2dcdc02 /Makefile
parentRevert "Explicitly build from .o objects" (diff)
downloadtorus-6241cd6c503f6166f4ab365c000de194749a7101.tar.gz
torus-6241cd6c503f6166f4ab365c000de194749a7101.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