diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-07-06 13:26:30 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-07-06 13:26:30 +0000 |
commit | 60fc51e29fc1a2138b22017354815c6336b46a9b (patch) | |
tree | 101ea400e91d818959b756e7d8da32971717fdf8 /Makefile | |
parent | 2d603c2473dfbdb5b9cdf7f4ed6f42cb18e4810e (diff) | |
download | mpv-60fc51e29fc1a2138b22017354815c6336b46a9b.tar.bz2 mpv-60fc51e29fc1a2138b22017354815c6336b46a9b.tar.xz |
Add a generic rule for .rc files and use it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27219 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -733,6 +733,9 @@ all: $(ALL_PRG-yes) %.ho: %.h $(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $< +%-rc.o: %.rc + $(WINDRES) -I. $< $@ + checkheaders: $(ALLHEADERS:.h=.ho) dep depend: $(DEPS) @@ -771,7 +774,6 @@ version.h: ./version.sh `$(CC) -dumpversion` osdep/mplayer-rc.o: osdep/mplayer.rc version.h - $(WINDRES) -I. $< $@ %(EXESUF): %.c @@ -1028,7 +1030,6 @@ vidix/dhahelperwin/dhahelper.o: vidix/dhahelperwin/dhahelper.c vidix/dhahelperwi $(CC) -Wall -Os -c $< -o $@ vidix/dhahelperwin/dhahelper-rc.o: vidix/dhahelperwin/dhahelper.rc vidix/dhahelperwin/common.ver vidix/dhahelperwin/ntverp.h - $(WINDRES) -I. $< $@ vidix/dhahelperwin/base.tmp: vidix/dhahelperwin/dhahelper.o vidix/dhahelperwin/dhahelper-rc.o $(CC) -Wl,--base-file,$@ -Wl,--entry,_DriverEntry@8 -nostartfiles \ |