home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cnradv.zip / MAKEFILE < prev    next >
Text File  |  1993-10-26  |  3KB  |  64 lines

  1. ###########################################################################
  2. #                                                                         #
  3. # MAKE FILE FOR CNRADV.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 CNRADV.DBG.       #
  9. #                                                                         #
  10. # HISTORY:                                                                #
  11. #                                                                         #
  12. #  11-30-92 - copied from CNRMENU.EXE sample.                             #
  13. #             added icons as dependencies of .res file.                   #
  14. #             added drag.c to build list.                                 #
  15. #             added draw.c to build list.                                 #
  16. #  06-06-93 - took out $* from dependencies for Borland Make compatibility#
  17. #  07-19-93 - took out dependency on folder.ico - WinLoadFileIcon bugfix  #
  18. #                                                                         #
  19. #  Rick Fishman                                                           #
  20. #  Code Blazers, Inc.                                                     #
  21. #  4113 Apricot                                                           #
  22. #  Irvine, CA. 92720                                                      #
  23. #  CIS ID: 72251,750                                                      #
  24. #                                                                         #
  25. ###########################################################################
  26.  
  27. #DEBUGALLOC=-D__DEBUG_ALLOC__
  28.  
  29. BASE=cnradv
  30.  
  31. CFLAGS=/Q+ /Ss /W3 /Kbcepr /Gm+ /Gd- /Ti+ /O- $(DEBUGALLOC) /C
  32. LFLAGS=/NOI /NOE /MAP /DE /NOL /A:16 /EXEPACK /BASE:65536
  33.  
  34. .SUFFIXES: .c
  35.  
  36. .c.obj:
  37.     icc $(CFLAGS) $*.c
  38.  
  39. OFILES=$(BASE).obj create.obj populate.obj common.obj ctxtmenu.obj edit.obj \
  40.        sort.obj drag.obj draw.obj
  41.  
  42. LFILES=$(OFILES:.obj=)
  43.  
  44. $(BASE).exe: $(OFILES) $(BASE).res $(BASE).def
  45.     link386 $(LFLAGS) $(LFILES),,, os2386, $*
  46.     rc $*.res $@
  47.  
  48. $(BASE).res: $(BASE).rc $(BASE).ico cnrbgd.bmp $(BASE).h makefile
  49.     rc -r $*
  50.  
  51. $(BASE).obj:  $(BASE).c $(BASE).h makefile
  52. create.obj:   create.c $(BASE).h makefile
  53. common.obj:   common.c $(BASE).h makefile
  54. populate.obj: populate.c $(BASE).h makefile
  55. ctxtmenu.obj: ctxtmenu.c $(BASE).h makefile
  56. edit.obj:     edit.c $(BASE).h makefile
  57. sort.obj:     sort.c $(BASE).h makefile
  58. drag.obj:     drag.c $(BASE).h makefile
  59. draw.obj:     draw.c $(BASE).h makefile
  60.  
  61. ###########################################################################
  62. #                       E N D   O F   S O U R C E                         #
  63. ###########################################################################
  64.