home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
MAJ
/
1513
/
WEEXTSRC.ZI_
/
MAKE32
< prev
next >
Wrap
Text File
|
1993-07-30
|
908b
|
38 lines
# Nmake macros for building Windows 32-Bit apps
!include <ntwin32.mak>
# This line allows NMAKE to work as well
all: we_ext.dll
# Update the object files if necessary
we_ext.obj: we_ext.c we_ext.h private.h
$(cc) $(cflags) $(cvars) we_ext.c
# Update the resources if necessary
we_ext.res: we_ext.rc we_ext.h
rc -r -fo we_ext.tmp we_ext.rc
cvtres -$(CPU) we_ext.tmp -o we_ext.res
del we_ext.tmp
# Update the import library
we_ext.lib: we_ext.obj we_ext32.def
$(implib) -machine:$(CPU)\
-def:we_ext32.def \
we_ext.obj \
-out:we_ext.lib
# Update the dynamic link library
we_ext.dll: we_ext.lib we_ext.obj we_ext.res we_ext32.def
$(link) \
-base:0x1C000000 \
-dll \
-entry:LibMain$(DLLENTRY) \
-out:we_ext.dll \
we_ext.exp we_ext.obj we_ext.res edmac32i.lib $(guilibs)