home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warptlk3.zip / TOOLKIT / SAMPLES / MM / DUET2 / DUET2.MAK < prev    next >
Makefile  |  1995-08-24  |  1KB  |  40 lines

  1. # SCCSID = @(#)makefile    13.7 92/04/22
  2. #**************************************************************************
  3. #
  4. # MAKE file for Duet Player 2
  5. #
  6. # Assumes that the environment is set up for development.  Specifically,
  7. # the compiler, linker, rc and ipfc  should be in the path.  Also, the
  8. # environment variables for the tools must be properly set, e.g. LIB,
  9. # INCLUDE, IPFC. This should all be taken care of automatically by
  10. # installing the OS/2 Toolkit and the MMPM/2 Toolkit.
  11. #
  12. #**************************************************************************
  13.  
  14. CC        = icc
  15. LINK        = link386
  16.  
  17. BASELIBS    = DDE4MBS.LIB OS2386.LIB MMPM2.LIB
  18.  
  19. DEBUG       = /Ti+ /O-
  20. COMPILE = /G3s /C+ /W3 /Ki- /Kb- /Ss+ /Gd- /Ms /Gm+ /DINCL_32
  21.  
  22. CFLAGS = $(COMPILE)
  23.  
  24. LFLAGS    = /map /nod /noe
  25.  
  26. all: duet2.exe duet2.hlp
  27.  
  28. duet2.exe: duet2.obj duet2.res duet2.def
  29.   $(LINK) duet2.obj, duet2.exe, $(LFLAGS) /ST:20000, $(BASELIBS), duet2.def
  30.   $(RC) duet2.res
  31.  
  32. duet2.obj: duet2.c duet2.h
  33.   $(CC) $(CFLAGS) duet2.c
  34.  
  35. duet2.res: duet2.rc duet2.dlg duet2.h duet2.ico
  36.   rc -r duet2.rc
  37.  
  38. duet2.hlp: duet2.ipf
  39.   ipfc duet2.ipf
  40.