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

  1. ###########################################################################
  2. #                                                                         #
  3. # MAKE FILE FOR NBSIZE.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 NBSIZE.DBG.       #
  9. #                                                                         #
  10. # HISTORY:                                                                #
  11. #                                                                         #
  12. #  11-28-92 - Source copied from the NBBASE.EXE sample.                   #
  13. #             Added page1.c to build.                                     #
  14. #             Added page2.c to build.                                     #
  15. #             Added page3.c to build.                                     #
  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=nbsize
  28.  
  29. CFLAGS=/Q+ /Ss /W3 /Kbcepr /Gm- /Gd- /Ti+ /O- $(DEBUGALLOC) /C
  30. LFLAGS=/NOI /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 dialog.obj client.obj mle.obj
  38.  
  39. LFILES=$(OFILES:.obj=)
  40.  
  41. $(BASE).exe: $(OFILES) $(BASE).def $(BASE).res
  42.     link386 $(LFLAGS) $(LFILES),,, os2386, $*
  43.     rc $*.res $*.exe
  44.  
  45. $(BASE).res: $*.rc $*.dlg
  46.     rc -r $*
  47.  
  48. $(BASE).obj: $*.c $(BASE).h makefile
  49. dialog.obj:  $*.c $(BASE).h makefile
  50. client.obj:  $*.c $(BASE).h makefile
  51. mle.obj:     $*.c $(BASE).h makefile
  52.  
  53. ###########################################################################
  54. #                       E N D   O F   S O U R C E                         #
  55. ###########################################################################
  56.