]> arthur.barton.de Git - bup.git/commitdiff
Makefile: oops, all the $^ and $< were backwards.
authorAvery Pennarun <apenwarr@gmail.com>
Sun, 24 Jan 2010 03:06:59 +0000 (22:06 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 24 Jan 2010 03:06:59 +0000 (22:06 -0500)
Not that it mattered, since all our files only had one dependency each.  But
it causes confusion if you ever add extra ones.

Makefile

index b2651548169a5b25ad1bd64926773b5f92abd1d8..a8f82ff26df50c78d06cf30a908a90b6aaddaab4 100644 (file)
--- 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 */*~ \