# HG changeset patch # User reimar # Date 1266967990 0 # Node ID c744dec7ed988a4a537ef4d148426ffb6aa47537 # Parent 5fdc3c62cf76d7e155986527811704d72914a0fc 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. diff -r 5fdc3c62cf76 -r c744dec7ed98 Makefile --- a/Makefile Tue Feb 23 22:29:57 2010 +0000 +++ b/Makefile Tue Feb 23 23:33:10 2010 +0000 @@ -21,6 +21,7 @@ include config.mak +.SUFFIXES: ###### variable declarations ####### @@ -837,6 +838,15 @@ %.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 $@ $<