aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-23 23:33:10 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-23 23:33:10 +0000
commit70647bb9cb5cf34f924d553fc184fed23764adb3 (patch)
tree9518fd35205b1327bab1cc63e50c982dc560286a
parent1783ce38f687e85bd164e16aff16b64fbdab2dbb (diff)
Disable old-style implicit rules to fix MinGW/Cygwin compilation
(mplayer-rc.o can not be generated). TO be improved or removed if/when someone figures out the issue. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30725 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6c2c26821e..82f6331b2c 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,7 @@
include config.mak
+.SUFFIXES:
###### variable declarations #######
@@ -837,6 +838,15 @@ all: $(ALL_PRG-yes)
%.ho: %.h
$(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $<
+%.o: %.S
+ $(CC) $(ASFLAGS) -c -o $@ $<
+
+%.o: %.c
+ $(CC) $(CFLAGS) -c -o $@ $<
+
+%.o: %.cpp
+ $(CC) $(CXXFLAGS) -c -o $@ $<
+
%.o: %.m
$(CC) $(CFLAGS) -c -o $@ $<