[zaptel-commits] tzafrir: branch tzafrir/xpp_1.2 r1553 - /team/tzafrir/xpp_1.2/xpp/utils/Makefile

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Sat Nov 4 15:21:37 MST 2006


Author: tzafrir
Date: Sat Nov  4 16:21:37 2006
New Revision: 1553

URL: http://svn.digium.com/view/zaptel?rev=1553&view=rev
Log:
xpp/utils/Makefile: Use $< with cc -c

Modified:
    team/tzafrir/xpp_1.2/xpp/utils/Makefile

Modified: team/tzafrir/xpp_1.2/xpp/utils/Makefile
URL: http://svn.digium.com/view/zaptel/team/tzafrir/xpp_1.2/xpp/utils/Makefile?rev=1553&r1=1552&r2=1553&view=diff
==============================================================================
--- team/tzafrir/xpp_1.2/xpp/utils/Makefile (original)
+++ team/tzafrir/xpp_1.2/xpp/utils/Makefile Sat Nov  4 16:21:37 2006
@@ -54,16 +54,16 @@
 	$(CC) -L. -o $@ $@.o $(EXTRA_LIBS) -lhexfile -lusb
 
 hexfile.o: hexfile.c hexfile.h
-	$(CC) $(CFLAGS) $(PEDANTIC) -c $*.c
+	$(CC) $(CFLAGS) $(PEDANTIC) -c $<
 
 test_parse.o: test_parse.c hexfile.h
-	$(CC) $(CFLAGS) $(PEDANTIC) -c $*.c
+	$(CC) $(CFLAGS) $(PEDANTIC) -c $<
 
 test_parse: test_parse.o libhexfile.a
 	$(CC) -L. -o $@ $@.o $(EXTRA_LIBS) -lhexfile -lusb
 
 print_modes.o: print_modes.c wctdm_fxomodes.h
-	$(HOSTCC) $(CFLAGS) -c $^
+	$(HOSTCC) $(CFLAGS) -c $<
 
 wctdm_fxomodes.h: $(WCTDM)
 	perl -n -e 'print if (/^static struct fxo_mode {$$/ .. /};$$/)' $(WCTDM) >$@



More information about the zaptel-commits mailing list