summaryrefslogtreecommitdiffstats
path: root/vidix
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-18 10:23:16 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-18 10:23:16 +0000
commit96db901f35e681511cea82540f8c31b909d4e6c6 (patch)
tree3c73d40cb6f3e871c13220ee58819381efce03ec /vidix
parent2a7e1da08fe3797a4ffbdb48114b42564c188adc (diff)
downloadmpv-96db901f35e681511cea82540f8c31b909d4e6c6.tar.bz2
mpv-96db901f35e681511cea82540f8c31b909d4e6c6.tar.xz
Simplify commands with automatic variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24568 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix')
-rw-r--r--vidix/dhahelperwin/Makefile23
1 files changed, 10 insertions, 13 deletions
diff --git a/vidix/dhahelperwin/Makefile b/vidix/dhahelperwin/Makefile
index 4ce2af98a7..3689c6f4c3 100644
--- a/vidix/dhahelperwin/Makefile
+++ b/vidix/dhahelperwin/Makefile
@@ -3,38 +3,35 @@ include ../../config.mak
all: dhasetup.exe dhahelper.sys
dhasetup.exe: dhasetup.c
- $(CC) -o dhasetup.exe dhasetup.c
+ $(CC) -o $@ $<
dhahelper.o: dhahelper.c dhahelper.h
- $(CC) -Wall -Os -c dhahelper.c -o dhahelper.o
+ $(CC) -Wall -Os -c $< -o $@
dhahelper-rc.o: dhahelper.rc common.ver ntverp.h
- windres -I. dhahelper.rc $@
+ windres -I. $< $@
base.tmp: dhahelper.o dhahelper-rc.o
- $(CC) -Wl,--base-file,base.tmp \
+ $(CC) -Wl,--base-file,$@ \
-Wl,--entry,_DriverEntry@8 \
-nostartfiles -nostdlib \
- -o junk.tmp \
- dhahelper.o dhahelper-rc.o \
- -lntoskrnl
+ -o junk.tmp $^ -lntoskrnl
-rm -f junk.tmp
temp.exp: base.tmp
- dlltool --dllname dhahelper.sys --base-file base.tmp --output-exp temp.exp
+ dlltool --dllname dhahelper.sys --base-file $< --output-exp $@
-dhahelper.sys: dhahelper.o dhahelper-rc.o temp.exp
+dhahelper.sys: temp.exp dhahelper.o dhahelper-rc.o
$(CC) -Wl,--subsystem,native \
-Wl,--image-base,0x10000 \
-Wl,--file-alignment,0x1000 \
-Wl,--section-alignment,0x1000 \
-Wl,--entry,_DriverEntry@8 \
- -Wl,temp.exp \
+ -Wl,$< \
-mdll -nostartfiles -nostdlib \
- -o dhahelper.sys \
- dhahelper.o dhahelper-rc.o \
+ -o $@ dhahelper.o dhahelper-rc.o \
-lntoskrnl
- strip dhahelper.sys
+ strip $@
clean:
rm -f *.o *~ dhahelper.sys dhasetup.exe base.tmp temp.exp