# HG changeset patch # User diego # Date 1283559608 0 # Node ID 4cccb69779eff2da8895737f3b665e86e30b9932 # Parent 49848f9a8f302ad2fd20e2eb5621c44c828621d9 cosmetics: Move header compilation rules to the bottom of the rules list. diff -r 49848f9a8f30 -r 4cccb69779ef Makefile --- a/Makefile Fri Sep 03 23:49:35 2010 +0000 +++ b/Makefile Sat Sep 04 00:20:08 2010 +0000 @@ -825,9 +825,6 @@ all: $(ALL_PRG-yes) -%.ho: %.h - $(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $< - %.o: %.S $(CC) $(ASFLAGS) -c -o $@ $< @@ -843,8 +840,6 @@ %-rc.o: %.rc $(WINDRES) -I. $< $@ -checkheaders: $(ALLHEADERS:.h=.ho) - $(FFMPEGLIBS): $(FFMPEGFILES) config.h $(MAKE) -C $(@D) touch $@ @@ -881,6 +876,11 @@ %$(EXESUF): %.c $(CC) $(CFLAGS) -o $@ $^ +%.ho: %.h + $(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $< + +checkheaders: $(ALLHEADERS:.h=.ho) + ###### dependency declarations / specific CFLAGS ######