From: Avery Pennarun Date: Sun, 24 Jan 2010 03:06:59 +0000 (-0500) Subject: Makefile: oops, all the $^ and $< were backwards. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=1e2b9e00b7dd84cebdecc1b5bd53ad64464ca0a5;p=packages%2Fb%2Fbup.git 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. --- 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 */*~ \