home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / ntcode / holep / makefile < prev    next >
Encoding:
Makefile  |  1995-05-19  |  745 b   |  40 lines

  1. #----------------
  2. # HEAD make file
  3. #----------------
  4.  
  5. DLL_SWITCH=NO_DLL
  6. !include <ntwin32.mak>
  7.  
  8. # This line allows NMAKE to work as well
  9.  
  10. # Update the import library
  11.  
  12. all: winmain.obj holeport.dll
  13.  
  14. # holeport.lib: holeport.obj holeport.def
  15.  
  16. holeport.lib: holeport.def
  17.     lib -machine:$(CPU)      \
  18.     -def:holeport.def         \
  19.     -out:holeport.lib
  20.  
  21. # Update the dynamic link library
  22.  
  23. holeport.dll: holeport.obj holeport.lib holeport.def 
  24.     $(link) \
  25.     -base:0x1C000000 \
  26.     -dll \
  27.     -entry:HP_Entry \
  28.     -out:holeport.dll \
  29.     holeport.exp holeport.obj $(guilibs)
  30.  
  31. winmain.obj: winmain.c
  32.     $(cc) $(cflags) $(cvars) $(*B).c
  33.  
  34. holeport.obj: holeport.c
  35.     $(cc) $(cflags) $(cvars) $(*B).c
  36.  
  37.  
  38.  
  39.  
  40.