[MPlayer-cvslog] r30725 - trunk/Makefile

reimar subversion at mplayerhq.hu
Wed Feb 24 00:33:10 CET 2010


Author: reimar
Date: Wed Feb 24 00:33:10 2010
New Revision: 30725

Log:
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.

Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Tue Feb 23 23:29:57 2010	(r30724)
+++ trunk/Makefile	Wed Feb 24 00:33:10 2010	(r30725)
@@ -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 $@ $<
 


More information about the MPlayer-cvslog mailing list