From 1e2b9e00b7dd84cebdecc1b5bd53ad64464ca0a5 Mon Sep 17 00:00:00 2001 From: Avery Pennarun Date: Sat, 23 Jan 2010 22:06:59 -0500 Subject: [PATCH] Makefile: oops, all the $^ and $< were backwards. Not that it mattered, since all our files only had one dependency each. But it causes confusion if you ever add extra ones. --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index b265154..a8f82ff 100644 --- a/Makefile +++ b/Makefile @@ -45,26 +45,26 @@ test: all ./wvtestrun $(MAKE) runtests %: %.o - $(CC) $(CFLAGS) (LDFLAGS) -o $@ $< $(LIBS) + $(CC) $(CFLAGS) (LDFLAGS) -o $@ $^ $(LIBS) bup: bup.py rm -f $@ - ln -s $^ $@ + ln -s $< $@ bup-%: cmd-%.py rm -f $@ - ln -s $^ $@ + ln -s $< $@ %: %.py rm -f $@ - ln -s $^ $@ + ln -s $< $@ bup-%: cmd-%.sh rm -f $@ - ln -s $^ $@ + ln -s $< $@ %.o: %.c - gcc -c -o $@ $^ $(CPPFLAGS) $(CFLAGS) + gcc -c -o $@ $< $(CPPFLAGS) $(CFLAGS) clean: rm -f *.o *.so *.dll *.exe *~ .*~ *.pyc */*.pyc */*~ \ -- 2.39.2