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.
32 lines
689 B
32 lines
689 B
MOD=S
|
|
|
|
!ifdef RELEASE
|
|
OPTIONS = -Olesrw
|
|
!else
|
|
OPTIONS = -qc -Gi -Zd
|
|
!endif
|
|
|
|
CL = cl -c -A$(MOD) -Gsw -Zpi -nologo $(OPTIONS) -I$(IMPORT)\win30\h
|
|
|
|
#all: test.exe
|
|
|
|
lib: winmain.obj wstdio.obj
|
|
-del $(MOD)stdiow.lib
|
|
lib $(MOD)stdiow.lib+winmain.obj+wstdio.obj;
|
|
|
|
test.obj: test.c
|
|
$(CL) test.c
|
|
|
|
winmain.obj: winmain.c
|
|
$(CL) winmain.c
|
|
|
|
wstdio.obj: wstdio.c
|
|
$(CL) wstdio.c
|
|
|
|
test.exe: test.obj winmain.obj wstdio.obj winmain.def
|
|
!ifdef RELEASE
|
|
link /noe/NOD test winmain wstdio,,, libw $(MOD)libcew, winmain.def;
|
|
rc test.exe
|
|
!else
|
|
ilink -e "link /padc:100/padd:100 /co /inc /NOD /noe test winmain wstdio,,, libw $(MOD)libcew, winmain.def; ; rc test.exe" test
|
|
!endif
|