home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / drgrnd.zip / makefile < prev    next >
Makefile  |  1993-07-20  |  2KB  |  52 lines

  1. ###########################################################################
  2. #                                                                         #
  3. # MAKE FILE FOR DRGRENDR.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 DRGRENDR.DBG.     #
  9. #                                                                         #
  10. # HISTORY:                                                                #
  11. #                                                                         #
  12. #  07-16-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=drgrendr
  25.  
  26. CFLAGS=/Q+ /Ss /W3 /Kbcepr /Gm+ /Gd- /Ti+ /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 dbaccess.obj drag.obj
  35.  
  36. LFILES=$(OFILES:.obj=)
  37.  
  38. $(BASE).exe: $(OFILES) $(BASE).res $(BASE).def
  39.     link386 $(LFLAGS) $(LFILES),,, os2386, $*
  40.     rc $*.res $@
  41.  
  42. $(BASE).res: $(BASE).rc $(BASE).h makefile dragme.ico openme.ico
  43.     rc -r $*
  44.  
  45. $(BASE).obj:  $(BASE).c $(BASE).h makefile
  46. dbaccess.obj: dbaccess.c $(BASE).h makefile
  47. drag.obj:     drag.c $(BASE).h makefile
  48.  
  49. ###########################################################################
  50. #                       E N D   O F   S O U R C E                         #
  51. ###########################################################################
  52.