home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c495 / 5.ddi / WATCM955.ARJ / FILEDLL.WEX / MAKEFILE < prev   
Encoding:
Text File  |  1993-02-16  |  1.0 KB  |  43 lines

  1. !include ..\build.mif
  2. DLLNAME = filedll
  3. DLL = dll
  4.  
  5. CFLAGS = -zW -ml -zu -w4 -d1 -oaxt
  6. DLLLNK = $(DLLNAME).lnk
  7.  
  8. OBJS = filedll.obj
  9.  
  10. !ifeq WIN386 1
  11. all: .SYMBOLIC
  12.     @%NULL
  13. !endif
  14.  
  15. $(DLLNAME).dll : $(OBJS) $(DLLLNK) $(DLLNAME).res
  16.     wlink @$(DLLLNK)
  17.     rc $(DLLNAME).res
  18.     @copy /b $(DLLNAME).exe+$(DLLNAME).sym
  19.     @del $(DLLNAME).dll
  20.     @rename $(DLLNAME).exe $(DLLNAME).dll
  21.     @del $(DLLNAME).sym
  22.     
  23. $(DLLNAME).res : $(DLLNAME).rc $(DLLNAME).dlg
  24.     wrc -r -30 $(DLLNAME).rc
  25.     
  26.         
  27. $(DLLLNK) : makefile
  28.     %create $(DLLLNK)
  29.     @%append $(DLLLNK) debug all
  30.     @%append $(DLLLNK) sys windows dll
  31.     @%append $(DLLLNK) lib clibl
  32.     @%append $(DLLLNK) lib windows
  33.     @%append $(DLLLNK) libfile libentry
  34.     @%append $(DLLLNK) name $(DLLNAME).exe
  35.     @%append $(DLLLNK) option symfile = $(DLLNAME).sym
  36.     @%append $(DLLLNK) option heapsize=5k
  37.     @%append $(DLLLNK) option map
  38.     @%append $(DLLLNK) option oneautodata
  39.     @for %i in ($(OBJS)) do @%append $(DLLLNK) file %i
  40.         
  41. .c.obj : 
  42.     wccp $(CFLAGS) $[*
  43.