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
commit6241cd6c503f6166f4ab365c000de194749a7101 (patch)
tree50362e6f5522c49ba0d6a2d07d17c8d7c2dcdc02
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
const char * in cgit_{httpscheme, hosturl, rooturl}()Lukas Fleischer 2013-04-08Update git to v1.8.2.1John Keeping 2013-04-07ui-blob: don't segfault when no path is givenJohn Keeping 2013-03-20Convert pager navigation into a unordered listLukas Fleischer 2013-03-20Makefile: remove CGIT-CFLAGS files in clean stageJason A. Donenfeld 2013-03-20ui-summary.c: Move urls variable into print_urls()Lukas Fleischer 2013-03-20Fix colspan valuesLukas Fleischer 2013-03-20html: check return value of writeJason A. Donenfeld 2013-03-20ui-shared: squelch compiler warning.Jason A. Donenfeld 2013-03-20cgit.mk: Use SHELL_PATH_SQ to run gen-version.shJohn Keeping 2013-03-20cgit.mk: don't rebuild everything if CGIT_VERSION changesJohn Keeping 2013-03-20ui-patch: use cgit_version not CGIT_VERSIONJohn Keeping 2013-03-20Makefile: re-use Git's Makefile where possibleJohn Keeping