mirror of https://github.com/mpv-player/mpv
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:
parent
8172eec08d
commit
ed3a57ae28
10
Makefile
10
Makefile
|
@ -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 ######
|
||||
|
|
Loading…
Reference in New Issue