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