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
ove base64 out of chat.hJune McEnroe 2020-02-11Move XDG_SUBDIR out of chat.hJune McEnroe 2020-02-11Fix whois idle unit calculationJune McEnroe 2020-02-11Cast towupper to wchar_tJune McEnroe 2020-02-11Cast set but unused variables to voidJune McEnroe 2020-02-11Declare strlcatJune McEnroe 2020-02-11Check if VDSUSP existsJune McEnroe 2020-02-11Fix completeReplace iterationJune McEnroe 2020-02-11Use pkg(8) to configure on FreeBSDJune McEnroe 2020-02-11Remove legacy codeJune McEnroe 2020-02-11Add INSTALLING section to READMEJune McEnroe