Makefile: Move header compilation rules to the bottom of the rules list

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32042 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2010-09-04 00:20:08 +00:00 committed by Uoti Urpala
parent 8172eec08d
commit ed3a57ae28
1 changed files with 5 additions and 5 deletions

View File

@ -739,9 +739,6 @@ ADD_ALL_EXESUFS = $(1) $(call ADDSUFFIXES,$(EXESUFS_ALL),$(1))
all: $(ALL_PRG-yes) locales
%.ho: %.h
$(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $<
%.o: %.S
$(CC) $(DEPFLAGS) $(CFLAGS) -c -o $@ $<
@ -757,8 +754,6 @@ all: $(ALL_PRG-yes) locales
%-rc.o: %.rc
$(WINDRES) -I. $< $@
checkheaders: $(ALLHEADERS:.h=.ho)
dep depend: $(DEPS)
mencoder$(EXESUF): $(MENCODER_DEPS)
@ -792,6 +787,11 @@ locale/%/LC_MESSAGES/mplayer.mo: po/%.po
mkdir -p $(dir $@)
msgfmt -c -o $@ $<
%.ho: %.h
$(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $<
checkheaders: $(ALLHEADERS:.h=.ho)
###### dependency declarations / specific CFLAGS ######