home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / utils / resdll / makefile < prev    next >
Encoding:
Makefile  |  1995-05-19  |  732 b   |  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.