home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c500 / 4.ddi / ALARM.WEX / MAKEFILE < prev   
Encoding:
Text File  |  1992-05-28  |  1023 b   |  47 lines

  1. !include ..\build.mif
  2.  
  3. CFLAGS = -zW -oaxt -d1 -w4
  4. !ifeq WIN386 1
  5. CC = wcc386p
  6. !else
  7. CC = wccp
  8. !endif
  9. NAME = alarm
  10.  
  11. LNK = $(name).lnk
  12.  
  13. OBJS = $(name).obj
  14.  
  15. $(name).exe : $(OBJS) $(name).res $(LNK)
  16.     wlink @$(LNK)
  17. !ifeq WIN386 1
  18.     wbind $(name) -R $(name).res
  19. !else
  20.     rc $(name).res
  21.     copy /b $(name).exe+$(name).sym
  22.     del $(name).sym
  23. !endif
  24.     
  25. $(name).res : $(name).rc $(name).ico
  26.     rc -r $(name).rc
  27.     
  28. $(LNK) : makefile ..\build.mif
  29.     %create $(LNK)
  30.     @%append $(LNK) debug all
  31. !ifeq WIN386 1
  32.     @%append $(LNK) sys win386
  33.     @%append $(LNK) option mindata=100K
  34.     @%append $(LNK) option maxdata=100K
  35. !else
  36.     @%append $(LNK) sys windows
  37.     @%append $(LNK) option heapsize=1k
  38.     @%append $(LNK) option symfile = $(name).sym
  39.     @%append $(LNK) library windows
  40. !endif
  41.     @%append $(LNK) option stack=7k
  42.     @%append $(LNK) name $(name)
  43.     @for %i in ($(OBJS)) do @%append $(LNK) file %i
  44.         
  45. $(name).obj : $(name).c $(name).h
  46.     $(CC) $(CFLAGS) $[*
  47.