home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / CPROG / RESDLL.ZIP / MAKEFILE < prev    next >
Text File  |  1992-10-19  |  732b  |  26 lines

  1. !include <ntwin32.mak>
  2.  
  3. all: main.exe the_dll.dll
  4.  
  5. main.obj: main.c
  6.     $(cc) $(cdebug) $(cflags) $(cvars) main.c
  7.  
  8. the_dll.obj: the_dll.c
  9.     $(cc) $(cdebug) $(cflags) $(cvarsdll) the_dll.c
  10.  
  11. the_dll.rbj: the_dll.rc the_dll.bmp the_dll.cur the_dll.ico
  12.     rc -r -fo the_dll.res the_dll.rc
  13.     cvtres -$(CPU) the_dll.res -o the_dll.rbj
  14.  
  15. the_dll.dll: the_dll.def the_dll.rbj the_dll.obj
  16.     $(link) $(linkdebug) \
  17.     -base:0x1C000000     \
  18.     -dll                 \
  19.     -entry:DLLEntryPoint$(DLLENTRY) \
  20.     -out:the_dll.dll     \
  21.     the_dll.rbj the_dll.obj $(guilibsdll)
  22.  
  23. main.exe: main.obj main.def
  24.     $(cvtobj) $(cvtdebug) *.obj
  25.     $(link) $(linkdebug) $(guiflags) -out:main.exe main.obj $(guilibsdll)
  26.