home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / CNRMNU.ZIP / MAKEFILE < prev    next >
Text File  |  1992-11-12  |  3KB  |  60 lines

  1. ###########################################################################
  2. #                                                                         #
  3. # MAKE FILE FOR CNRMENU.EXE                                               #
  4. #                                                                         #
  5. # NOTES:                                                                  #
  6. #                                                                         #
  7. #  To enable the C Set/2 memory management debugging code, uncomment the  #
  8. #  DEBUGALLOC macro. The debugging info will be sent to CNRMENU.DBG.      #
  9. #                                                                         #
  10. # HISTORY:                                                                #
  11. #                                                                         #
  12. #  10-24-92 - copied from CNRBASE.EXE sample.                             #
  13. #             added ctxtmenu.c to build list.                             #
  14. #             added edit.c to build list.                                 #
  15. #             added sort.c to build list.                                 #
  16. #                                                                         #
  17. #  Rick Fishman                                                           #
  18. #  Code Blazers, Inc.                                                     #
  19. #  4113 Apricot                                                           #
  20. #  Irvine, CA. 92720                                                      #
  21. #  CIS ID: 72251,750                                                      #
  22. #                                                                         #
  23. ###########################################################################
  24.  
  25. #DEBUGALLOC=-D__DEBUG_ALLOC__
  26.  
  27. BASE=cnrmenu
  28.  
  29. CFLAGS=/Q+ /Ss /W3 /Kbcepr /Gm+ /Gd- /Ti+ /O- $(DEBUGALLOC) /C
  30. LFLAGS=/NOI /NOE /MAP /DE /NOL /A:16 /EXEPACK /BASE:65536
  31.  
  32. .SUFFIXES: .c
  33.  
  34. .c.obj:
  35.     icc $(CFLAGS) $*.c
  36.  
  37. OFILES=$(BASE).obj create.obj populate.obj common.obj ctxtmenu.obj edit.obj \
  38.        sort.obj
  39.  
  40. LFILES=$(OFILES:.obj=)
  41.  
  42. $(BASE).exe: $(OFILES) $(BASE).res $(BASE).def
  43.     link386 $(LFLAGS) $(LFILES),,, os2386, $*
  44.     rc $*.res $@
  45.  
  46. $(BASE).res: $*.rc $(BASE).h makefile
  47.     rc -r $*
  48.  
  49. $(BASE).obj:  $*.c $(BASE).h makefile
  50. create.obj:   $*.c $(BASE).h makefile
  51. common.obj:   $*.c $(BASE).h makefile
  52. populate.obj: $*.c $(BASE).h makefile
  53. ctxtmenu.obj: $*.c $(BASE).h makefile
  54. edit.obj:     $*.c $(BASE).h makefile
  55. sort.obj:     $*.c $(BASE).h makefile
  56.  
  57. ###########################################################################
  58. #                       E N D   O F   S O U R C E                         #
  59. ###########################################################################
  60.