Mercurial > mplayer.hg
changeset 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 | 5fdc3c62cf76 |
children | dc7ed18ea0df |
files | Makefile |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
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 $@ $<