home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / wps / mmpm2 / tracker / makefile < prev    next >
Makefile  |  1993-12-16  |  1KB  |  64 lines

  1. # Makefile for MMPM/2 (using BSD-386 device driver)
  2. #
  3. # $Author: steve $
  4. # $Id: Makefile,v 1.2 1992/06/24 06:29:59 steve Exp steve $
  5. # $Revision: 1.2 $
  6.  
  7. CC = gcc
  8. INSTALL_DIR = \trash
  9. O = .obj
  10. CFLAGS = 
  11. MAIN_OPTS = -O2   #Try -O2 if you have gcc 2.x
  12. COPTS = $(MAIN_OPTS) -c
  13. MACHINE = mmpm
  14.  
  15.  
  16. OBJECTS = $(MACHINE)_audio$O audio$O automaton$O commands$O easyfont$O lcd$O \
  17.         main$O player$O read$O
  18.  
  19.  
  20. all: tracker.exe
  21.  
  22. tracker.exe:  $(OBJECTS) tracker.def tracker.res
  23.         $(CC) -o tracker.exe $(MAIN_OPTS) $(OBJECTS) tracker.def -los2 -lmdm
  24.         rc tracker.res
  25.  
  26. # MDM.LIB is made using IMPLIB on the MDM.DEF file,
  27. # which was created using output from EXEHDRing MDM.DLL.
  28.  
  29.  
  30.  
  31.  
  32. {.}.c.obj:
  33.    $(CC) $(COPTS) .\$*.c
  34.  
  35. {.}.rc.res:
  36.    RC -r .\$*.RC
  37.  
  38.  
  39.  
  40. tracker.res : tracker.rc
  41.  
  42. main$O : main.c defs.h
  43.  
  44. audio$O : audio.c
  45.  
  46. automaton$O: automaton.c defs.h
  47.  
  48. player$O: player.c defs.h
  49.  
  50. read$O: read.c  defs.h
  51.  
  52. commands$O: commands.c defs.h
  53.  
  54. $(MACHINE)_audio$O: $(MACHINE)_audio.c
  55.  
  56. commands$O : commands.c
  57.  
  58. easyfont$O : easyfont.c
  59.  
  60. read$O : read.c
  61.  
  62.  
  63.  
  64.