home *** CD-ROM | disk | FTP | other *** search
/ Dr. CD ROM (Annual Premium Edition) / premium.zip / premium / IBMOS2_1 / INSCDP.ZIP / cdplayer.mak < prev    next >
Text File  |  1993-10-21  |  1KB  |  51 lines

  1. #*************************************************************************
  2. #* cdplayer.mak (c) Axel Salomon für Inside OS/2 Ausgabe 11'93           *
  3. #************************************************************************* 
  4.  
  5. CC        = icc
  6. LINK        = link386
  7.  
  8. BASELIBS    = DDE4MBS.LIB OS2386.LIB MMPM2.LIB
  9.  
  10. DEBUG       = /Ti+ /O-
  11.  
  12. #
  13. # Compilation Switches
  14. #
  15. #     /G3s         : Generate 386 code with no stack checking.
  16. #     /C+         : Compile only one module.
  17. #     /W3         : Warning level.
  18. #     /Gd-         : Link to static C libraries.
  19. #     /Gm+         : Use multithreaded libraries.
  20. #     /DINCL_32      : Use IBM code.
  21. #     /Ti+         : Generate debugging code.
  22. #     /Sm         : Generate debugging code.
  23. #     /O-         : Turn optimization off.
  24. #
  25. COMPILE = /G3s /C+ /W3 /Ki- /Kb- /Ss+ /Gd- /Ms /Gm+ /DINCL_32
  26.  
  27. CFLAGS = $(COMPILE)
  28.  
  29. #
  30. # Link Switches
  31. #
  32. #    /map     : Creates a listing file containing all pulbic symbols.
  33. #    /nod     : Causes all default libraries to be ignored.
  34. #    /noe     : The linker will not search the extended dictionary.
  35. #
  36.  
  37. LFLAGS    = /map /nod /noe /co
  38.  
  39. all: cdplayer.exe
  40.  
  41. cdplayer.exe: cdplayer.obj cdplayer.res cdplayer.def
  42.   $(LINK) cdplayer.obj, cdplayer.exe, $(LFLAGS) /BASE:0x10000, $(BASELIBS), cdplayer.def
  43.   rc cdplayer.res
  44.  
  45. cdplayer.obj: cdplayer.c cdplayer.h
  46.   $(CC) $(CFLAGS) $(DEBUG) cdplayer.c
  47.  
  48. cdplayer.res: cdplayer.rc cdplayer.dlg cdplayer.h cdplayer.ico
  49.   rc -r cdplayer.rc
  50.  
  51.