home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / drgmon.zip / makefile < prev    next >
Makefile  |  1993-12-05  |  3KB  |  60 lines

  1. ###########################################################################
  2. #                                                                         #
  3. # MAKE FILE FOR DRGDROP.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 DRGDROP.DBG.      #
  9. #                                                                         #
  10. # HISTORY:                                                                #
  11. #                                                                         #
  12. #  07-20-93 - started coding.                                             #
  13. #                                                                         #
  14. #  Rick Fishman                                                           #
  15. #  Code Blazers, Inc.                                                     #
  16. #  4113 Apricot                                                           #
  17. #  Irvine, CA. 92720                                                      #
  18. #  CIS ID: 72251,750                                                      #
  19. #                                                                         #
  20. ###########################################################################
  21.  
  22. #DEBUGALLOC=-D__DEBUG_ALLOC__
  23.  
  24. BASE=drgdrop
  25.  
  26. CFLAGS=/Q+ /Ss /W3 /Kbcepr /Gm+ /Gd- /O- $(DEBUGALLOC) /C
  27. LFLAGS=/NOI /NOE /MAP /DE /NOL /A:16 /EXEPACK /BASE:0x10000
  28.  
  29. .SUFFIXES: .c
  30.  
  31. .c.obj:
  32.     icc $(CFLAGS) $*.c
  33.  
  34. OFILES=$(BASE).obj drag.obj debugwin.obj show.obj notebook.obj dlgmisc.obj \
  35.        dlgdragi.obj dlgrmf.obj dlgreply.obj menu.obj
  36.  
  37. LFILES=$(OFILES:.obj=)
  38.  
  39. $(BASE).exe: $(OFILES) $(BASE).res $(BASE).def
  40.     link386 $(LFLAGS) $(LFILES),,, os2386, $*
  41.     rc $*.res $@
  42.  
  43. $(BASE).res: $(BASE).rc $(BASE).h $(BASE).dlg $(BASE).ico makefile
  44.     rc -r $*
  45.  
  46. $(BASE).obj:  $(BASE).c $(BASE).h makefile
  47. drag.obj:     drag.c $(BASE).h makefile
  48. debugwin.obj: debugwin.c $(BASE).h makefile
  49. show.obj:     show.c $(BASE).h makefile
  50. notebook.obj: notebook.c $(BASE).h makefile
  51. dlgmisc.obj:  dlgmisc.c $(BASE).h makefile
  52. dlgdragi.obj: dlgdragi.c $(BASE).h makefile
  53. dlgrmf.obj:   dlgrmf.c $(BASE).h makefile
  54. dlgreply.obj: dlgreply.c $(BASE).h makefile
  55. menu.obj:     menu.c $(BASE).h makefile
  56.  
  57. ###########################################################################
  58. #                       E N D   O F   S O U R C E                         #
  59. ###########################################################################
  60.