home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / WIN_NT / SNMPKT.ZIP / TESTDLL / MAKEFILE next >
Encoding:
Text File  |  1993-04-13  |  844 b   |  36 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. !include <ntwin32.mak>
  4.  
  5. all: testdll.dll
  6.  
  7. # Update the object files if necessary
  8.  
  9. testdll.obj: testdll.c
  10.      $(cc) $(cflags) $(cvarsdll) $(cdebug) testdll.c
  11.  
  12. testmib.obj: testmib.c
  13.      $(cc) $(cflags) $(cvarsdll) $(cdebug) testmib.c
  14.  
  15.  
  16. # Update the import library
  17.  
  18. testdll.lib: testdll.obj testmib.obj testdll.def
  19. #    $(cvtobj) $(cvtdebug) testdll.obj testmib.obj
  20.      lib32 -machine:$(CPU)     \
  21.      -def:testdll.def     \
  22.      testdll.obj          \
  23.      testmib.obj          \
  24.      -out:testdll.lib
  25.  
  26. # Update the dynamic link library
  27.  
  28. testdll.dll: testdll.lib testdll.obj testmib.obj testdll.def
  29.      
  30.      link32 \
  31.      -base:0x1C000000  \
  32.      -dll       \
  33.      -entry:LibMain$(DLLENTRY)  \
  34.      -out:testdll.dll   \
  35.      testdll.exp testdll.obj testmib.obj $(guilibsdll) snmp.lib advapi32.lib
  36.