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.
35 lines
755 B
35 lines
755 B
# Nmake macros for building Windows 32-Bit apps
|
|
|
|
TARGETOS=WINNT
|
|
|
|
!include <win32.mak>
|
|
|
|
all: testdll.dll
|
|
|
|
# Update the object files if necessary
|
|
|
|
testdll.obj: testdll.c
|
|
$(cc) $(cflags) $(cvarsdll) $(cdebug) testdll.c
|
|
|
|
testmib.obj: testmib.c
|
|
$(cc) $(cflags) $(cvarsdll) $(cdebug) testmib.c
|
|
|
|
|
|
# Update the import library
|
|
|
|
testdll.lib: testdll.obj testmib.obj testdll.def
|
|
$(implib) -machine:$(CPU) \
|
|
-def:testdll.def \
|
|
testdll.obj \
|
|
testmib.obj \
|
|
-out:testdll.lib
|
|
|
|
# Update the dynamic link library
|
|
|
|
testdll.dll: testdll.lib testdll.obj testmib.obj testdll.def
|
|
|
|
$(link) $(lflags) $(dlllflags) \
|
|
-base:0x1C000000 \
|
|
-out:testdll.dll \
|
|
testdll.exp testdll.obj testmib.obj \
|
|
$(guilibsdll) snmpapi.lib
|