Mercurial > mplayer.hg
diff Makefile @ 30683:c744dec7ed98
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.
author | reimar |
---|---|
date | Tue, 23 Feb 2010 23:33:10 +0000 |
parents | 463b81ee192b |
children | 82dd2fbdb772 |
line wrap: on
line diff
--- 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 $@ $<