Mercurial > mplayer.hg
comparison Makefile @ 32240:974e9c9fa9c5
Generate dependency files also when compiling binaries straight from .c files.
author | diego |
---|---|
date | Mon, 20 Sep 2010 19:47:45 +0000 |
parents | 0abb6e07e3cb |
children | 04a875c8dc3e |
comparison
equal
deleted
inserted
replaced
32239:0abb6e07e3cb | 32240:974e9c9fa9c5 |
---|---|
873 endif | 873 endif |
874 version.h: version.sh | 874 version.h: version.sh |
875 ./$< `$(CC) -dumpversion` | 875 ./$< `$(CC) -dumpversion` |
876 | 876 |
877 %$(EXESUF): %.c | 877 %$(EXESUF): %.c |
878 $(CC) $(CFLAGS) -o $@ $^ | 878 $(CC) $(CC_DEPFLAGS) $(CFLAGS) -o $@ $^ |
879 | 879 |
880 %.ho: %.h | 880 %.ho: %.h |
881 $(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $< | 881 $(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $< |
882 | 882 |
883 checkheaders: $(ALLHEADERS:.h=.ho) | 883 checkheaders: $(ALLHEADERS:.h=.ho) |