home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 19 / CD_ASCQ_19_010295.iso / dos / prg / midas / midp.mak < prev    next >
Text File  |  1994-08-06  |  4KB  |  134 lines

  1. #*      MIDP.MAK
  2. #*
  3. #* MIDAS Module Player makefile
  4. #*
  5. #* Copyright 1994 Petteri Kangaslampi and Jarno Paananen
  6. #*
  7. #* This file is part of the MIDAS Sound System, and may only be
  8. #* used, modified and distributed under the terms of the MIDAS
  9. #* Sound System license, LICENSE.TXT. By continuing to use,
  10. #* modify or distribute this file you indicate that you have
  11. #* read the license and understand and accept it fully.
  12. #*
  13.  
  14.  
  15. # Compiler directories:
  16.  
  17. BCDIR = c:\bc
  18. LIBDIR = $(BCDIR)\lib
  19.  
  20.  
  21. # Compilers and options:
  22.  
  23. CC = bcc
  24. CCOPTS = -c -3 -G -v -ml -I$(BCDIR)\include -DDEBUG -DREALVUMETERS
  25. ASM = tasm
  26. ASMOPTS = -UT310 -ml -zi -m9 -dDEBUG -dREALVUMETERS -dNOBORDERCOLOR
  27. LINK = tlink
  28. LINKOPTS = -c -v
  29.  
  30.  
  31. # MIDAS Sound System object files:
  32.  
  33. MIDASOBJS = midas.obj mglobals.obj errors.obj mmem.obj asmrfile.obj file.obj \
  34.             ems.obj mod.obj modload.obj s3m.obj s3mload.obj timer.obj \
  35.             gus.obj pas.obj wss.obj sb.obj nsnd.obj dsm.obj dma.obj vu.obj
  36.  
  37.  
  38. midp.exe : midp.obj vgatext.obj $(MIDASOBJS)
  39.         $(LINK) $(LINKOPTS) $(LIBDIR)\c0l.obj $(LIBDIR)\wildargs.obj \
  40.                 midp.obj vgatext.obj @midasobj, midp, , $(LIBDIR)\cl.lib
  41.  
  42. midp.obj : midp.c midas.h
  43.         $(CC) $(CCOPTS) midp.c
  44.  
  45. vgatext.obj : vgatext.asm lang.inc vgatext.inc
  46.     $(ASM) $(ASMOPTS) vgatext.asm
  47.  
  48.  
  49. mglobals.obj : mglobals.c
  50.         $(CC) $(CCOPTS) mglobals.c
  51.  
  52. errors.obj : errors.c lang.h errors.h
  53.         $(CC) $(CCOPTS) errors.c
  54.  
  55. midas.obj : midas.c midas.h
  56.         $(CC) $(CCOPTS) midas.c
  57.  
  58. s3mload.obj : s3mload.c mtypes.h errors.h mglobals.h mmem.h sdevice.h \
  59.         mplayer.h s3m.h ems.h vu.h lang.h file.h
  60.         $(CC) $(CCOPTS) s3mload.c
  61.  
  62. modload.obj : modload.c mtypes.h errors.h mglobals.h mmem.h sdevice.h \
  63.         mplayer.h mod.h ems.h vu.h lang.h file.h
  64.         $(CC) $(CCOPTS) modload.c
  65.  
  66. mmem.obj : mmem.c lang.h mmem.h errors.h
  67.         $(CC) $(CCOPTS) mmem.c
  68.  
  69. #rawfile.obj : rawfile.c lang.h mtypes.h errors.h mmem.h rawfile.h
  70. #        $(CC) $(CCOPTS) rawfile.c
  71.  
  72. asmrfile.obj : asmrfile.asm lang.inc errors.inc rawfile.inc mmem.inc
  73.         $(ASM) $(ASMOPTS) asmrfile.asm
  74.  
  75. file.obj : file.c lang.h mtypes.h errors.h mmem.h file.h rawfile.h
  76.         $(CC) $(CCOPTS) file.c
  77.  
  78.  
  79. s3m.obj : s3m.asm lang.inc errors.inc mglobals.inc s3m.inc mplayer.inc \
  80.         sdevice.inc ems.inc timer.inc
  81.         $(ASM) $(ASMOPTS) s3m.asm
  82.  
  83. mod.obj : mod.asm lang.inc errors.inc mglobals.inc mod.inc mplayer.inc \
  84.         sdevice.inc ems.inc timer.inc mglobals.inc
  85.         $(ASM) $(ASMOPTS) mod.asm
  86.  
  87. gus.obj : gus.asm lang.inc mglobals.inc sdevice.inc mmem.inc mglobals.inc
  88.         $(ASM) $(ASMOPTS) gus.asm
  89.  
  90. sb.obj : sb.asm lang.inc errors.inc sdevice.inc dsm.inc dma.inc
  91.         $(ASM) $(ASMOPTS) sb.asm
  92.  
  93. wss.obj : wss.asm lang.inc errors.inc sdevice.inc dsm.inc dma.inc
  94.         $(ASM) $(ASMOPTS) wss.asm
  95.  
  96. pas.obj : pas.asm pas.inc lang.inc errors.inc sdevice.inc dsm.inc dma.inc
  97.         $(ASM) $(ASMOPTS) pas.asm
  98.  
  99. nsnd.obj : nsnd.asm lang.inc sdevice.inc
  100.     $(ASM) $(ASMOPTS) nsnd.asm
  101.  
  102. dma.obj : dma.asm lang.inc errors.inc dma.inc mmem.inc
  103.     $(ASM) $(ASMOPTS) dma.asm
  104.  
  105. dsm.obj : dsm.asm lang.inc errors.inc mglobals.inc dsm.inc dma.inc mmem.inc \
  106.         ems.inc sdevice.inc
  107.     $(ASM) $(ASMOPTS) dsm.asm
  108.  
  109. timer.obj : timer.asm errors.inc mglobals.inc lang.inc timer.inc ems.inc \
  110.         dma.inc dsm.inc sdevice.inc
  111.         $(ASM) $(ASMOPTS) timer.asm
  112.  
  113. ems.obj : ems.asm lang.inc errors.inc ems.inc mmem.inc
  114.     $(ASM) $(ASMOPTS) ems.asm
  115.  
  116. vu.obj : vu.asm lang.inc errors.inc vu.inc mmem.inc sdevice.inc
  117.         $(ASM) $(ASMOPTS) vu.asm
  118.  
  119.  
  120.  
  121.  
  122. midas.h : lang.h mtypes.h errors.h mglobals.h mmem.h file.h sdevice.h \
  123.           mplayer.h s3m.h mod.h timer.h ems.h dma.h dsm.h vu.h
  124.         touch midas.h
  125.  
  126. midas.inc : lang.inc errors.inc mglobals.inc mmem.inc sdevice.inc \
  127.             lang.inc errors.inc mglobals.inc mmem.inc rawfile.inc file.inc \
  128.             sdevice.inc mplayer.inc timer.inc mod.inc s3m.inc dma.inc \
  129.             dsm.inc ems.inc vu.inc
  130.         touch midas.inc
  131.  
  132. file.h : rawfile.h
  133.         touch file.h
  134.