summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-09-04 00:20:08 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:15:50 +0200
commited3a57ae28abcfb5f7bb29b1a678e3574a50bd97 (patch)
tree455a08c1cb26250d5b5165943f42bf56218c6d14 /Makefile
parent8172eec08ddab82f797297dffb60a9d56cae2f85 (diff)
downloadmpv-ed3a57ae28abcfb5f7bb29b1a678e3574a50bd97.tar.bz2
mpv-ed3a57ae28abcfb5f7bb29b1a678e3574a50bd97.tar.xz
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 811a0fb5a8..02408b6ca6 100644
--- a/Makefile
+++ b/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 ######