changeset 31958:4cccb69779ef

cosmetics: Move header compilation rules to the bottom of the rules list.
author diego
date Sat, 04 Sep 2010 00:20:08 +0000
parents 49848f9a8f30
children f957f330aa6d
files Makefile
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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 ######