home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mmpm21tk.zip / TK / RECORDER / MAKEFILE < prev    next >
Text File  |  1993-03-04  |  2KB  |  68 lines

  1. # SCCSID = @(#)makefile 13.7 92/04/22
  2. #**************************************************************************
  3. #
  4. # MAKE file for Wave Recorder
  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. # Copyright (C) IBM 1993
  13. #**************************************************************************
  14.  
  15. CC        = icc
  16. LINK        = link386
  17.  
  18. BASELIBS    = DDE4MBS.LIB OS2386.LIB MMPM2.LIB
  19.  
  20. #
  21. # Compilation Switches
  22. #
  23. #     /G3s         : Generate 386 code with no stack checking.
  24. #     /C+         : Compile only one module.
  25. #     /W3         : Warning level.
  26. #     /Gd-         : Link to static C libraries.
  27. #     /Ms         : Puts Toronto compiler into C6.0 migration mode.
  28. #     /Gm+         : Use multithreaded libraries.
  29. #     /DINCL_32      : Use IBM code.
  30. #     /Ti+         : Generate debugging code.
  31. #     /Sm         : Generate debugging code.
  32. #     /O-         : Turn optimization off.
  33. #
  34.  
  35. CFLAGS       = /G3s /C+ /W3 /Ss+ /Gd- /Ms /Gm+ /DINCL_32
  36. DEBUG       = /Ti+ /Sm /O-
  37.  
  38. COMPILE    = $(CFLAGS)
  39.  
  40. #
  41. # Link Switches
  42. #
  43. #    /map     : Creates a listing file containing all pulbic symbols.
  44. #    /nod     : Causes all default libraries to be ignored.
  45. #    /noe     : The linker will not search the extended dictionary.
  46. #
  47.  
  48. LFLAGS       = /map /nod /noe
  49.  
  50. all: recorder.exe recorder.hlp
  51.  
  52. recorder.exe: recorder.obj options.obj recorder.res recorder.def
  53.   $(LINK) recorder.obj options.obj, recorder.exe, recorder.map $(LFLAGS) /ST:20000, $(BASELIBS), recorder.def
  54.   $(RC) recorder.res
  55.   mapsym recorder
  56.  
  57. recorder.obj: recorder.c recorder.h
  58.   $(CC) $(COMPILE) recorder.c
  59.  
  60. options.obj: options.c recorder.h
  61.   $(CC) $(COMPILE) options.c
  62.  
  63. recorder.res: recorder.rc recorder.dlg recorder.h recorder.ico
  64.   rc -r recorder.rc
  65.  
  66. recorder.hlp: recorder.ipf
  67.   ipfc recorder.ipf
  68.