mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
525 B
28 lines
525 B
|
|
CC = cl -c -W3 -Asnw -Gsw -Oas -Zip -DWIN16
|
|
#CC = cl -c -W3 -Asnw -Gsw -Oas -Zpe -DWIN16
|
|
MASM = masm -mx -Zi
|
|
#MASM = masm -mx
|
|
LINK = link /NOE/CO/LI
|
|
#LINK = link /NOE/LI
|
|
RC = rc -3
|
|
|
|
target: hook.dll hook.lib
|
|
|
|
#
|
|
# Make the Hook Library first
|
|
#
|
|
|
|
libinit.obj: libinit.asm
|
|
$(MASM) libinit;
|
|
|
|
hook.obj: hook.c
|
|
$(CC) hook.c
|
|
|
|
hook.dll: hook.obj libinit.obj hook.def
|
|
link hook.obj libinit.obj, hook.dll, hook/map, sdllcew libw, hook.def
|
|
rc hook.dll
|
|
|
|
hook.lib: hook.def
|
|
implib hook.lib hook.def
|
|
|