home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1996 February
/
VPR9602A.ISO
/
fwindows
/
archive
/
tmedt090.lzh
/
TOOLD101.LZH
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1995-11-20
|
2KB
|
62 lines
CPU = i386
!include <ntwin32.mak>
cdebug =
ldebug =
guilibsdll = libcmt.lib oldnames.lib $(winlibs)
.c.obj :
$(cc) -nologo -Ox -ML $(cdebug) $(cflags) $(cvars) $*.c
all : xargs.dll cwtools.dll toolman.exe ls.exe ls_nt.exe
#-----------#
# xargs.dll #
#-----------#
xargs.dll : $*.obj
$(link) -nologo $(ldebug) $(guilflags) \
-base:0x1c000000 \
-dll \
-entry:_DllMainCRTStartup$(DLLENTRY) \
-export:CreateArgs -export:DeleteArgs \
-out:$*.dll\
$*.obj $(guilibsdll)
#-------------#
# cwtools.dll #
#-------------#
cwtools.dll : $*.obj xargs.lib
$(link) -nologo $(ldebug) $(guilflags) \
-base:0x1c000000 \
-dll \
-entry:_DllMainCRTStartup$(DLLENTRY) \
-export:CallCommand \
-out:$*.dll\
$*.obj $(guilibsdll) xargs.lib
#-----------#
# ls_cw.exe #
#-----------#
ls.exe : $*.obj comwin32.lib
$(link) -nologo $(ldebug) $(guiflags) \
-out:$*.exe \
$*.obj \
$(guilibs) comwin32.lib
copy ls.exe ls_cw.exe
ls.obj : $*.c
$(cc) -nologo -Ox -ML $(cdebug) $(cflags) $(cvars) -DCOMWIN $*.c
#-----------#
# ls_nt.exe #
#-----------#
ls_nt.exe : $*.obj
$(link) -nologo $(ldebug) $(conflags) \
-out:$*.exe \
$*.obj \
$(conlibs) user32.lib
ls_nt.obj : ls.c
$(cc) -nologo -Ox -ML $(cdebug) $(cflags) $(cvars) -Fo$*.obj ls.c