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

  1. #*      MIDASLIB.MAK
  2. #*
  3. #* MIDAS Sound System library 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 -ml -I$(BCDIR)\include
  25. ASM = tasm
  26. ASMOPTS = -UT310 -ml -m9 -dNOBORDERCOLOR
  27. LIB = tlib
  28. LIBOPTS = /C
  29.  
  30.  
  31. # MIDAS Sound System object files:
  32.  
  33. MIDASOBJS = midas.obj mglobals.obj asmrfile.obj file.obj errors.obj mmem.obj ems.obj mod.obj modload.obj s3m.obj s3mload.obj timer.obj gus.obj pas.obj wss.obj sb.obj nsnd.obj dsm.obj dma.obj vu.obj
  34.  
  35.  
  36. midas.lib : $(MIDASOBJS) midas.h midas.inc
  37.         $(LIB) midas.lib $(LIBOPTS) @mlibobjs
  38.  
  39.  
  40. mglobals.obj : mglobals.c
  41.         $(CC) $(CCOPTS) mglobals.c
  42.  
  43. errors.obj : errors.c lang.h errors.h
  44.         $(CC) $(CCOPTS) errors.c
  45.  
  46. midas.obj : midas.c midas.h
  47.         $(CC) $(CCOPTS) midas.c
  48.  
  49. s3mload.obj : s3mload.c mtypes.h errors.h mglobals.h mmem.h sdevice.h \
  50.         mplayer.h s3m.h ems.h vu.h lang.h file.h
  51.         $(CC) $(CCOPTS) s3mload.c
  52.  
  53. modload.obj : modload.c mtypes.h errors.h mglobals.h mmem.h sdevice.h \
  54.         mplayer.h mod.h ems.h vu.h lang.h file.h
  55.         $(CC) $(CCOPTS) modload.c
  56.  
  57. mmem.obj : mmem.c lang.h mmem.h errors.h
  58.         $(CC) $(CCOPTS) mmem.c
  59.  
  60. #rawfile.obj : rawfile.c lang.h mtypes.h errors.h mmem.h rawfile.h
  61. #        $(CC) $(CCOPTS) rawfile.c
  62.  
  63. asmrfile.obj : asmrfile.asm lang.inc errors.inc rawfile.inc mmem.inc
  64.         $(ASM) $(ASMOPTS) asmrfile.asm
  65.  
  66. file.obj : file.c lang.h mtypes.h errors.h mmem.h file.h rawfile.h
  67.         $(CC) $(CCOPTS) file.c
  68.  
  69.  
  70. s3m.obj : s3m.asm lang.inc errors.inc mglobals.inc s3m.inc mplayer.inc sdevice.inc ems.inc timer.inc
  71.         $(ASM) $(ASMOPTS) s3m.asm
  72.  
  73. mod.obj : mod.asm lang.inc errors.inc mglobals.inc mod.inc mplayer.inc sdevice.inc ems.inc timer.inc mglobals.inc
  74.         $(ASM) $(ASMOPTS) mod.asm
  75.  
  76. gus.obj : gus.asm lang.inc mglobals.inc sdevice.inc mmem.inc mglobals.inc
  77.         $(ASM) $(ASMOPTS) gus.asm
  78.  
  79. sb.obj : sb.asm lang.inc errors.inc sdevice.inc dsm.inc dma.inc
  80.         $(ASM) $(ASMOPTS) sb.asm
  81.  
  82. wss.obj : wss.asm lang.inc errors.inc sdevice.inc dsm.inc dma.inc
  83.         $(ASM) $(ASMOPTS) wss.asm
  84.  
  85. pas.obj : pas.asm pas.inc lang.inc errors.inc sdevice.inc dsm.inc dma.inc
  86.         $(ASM) $(ASMOPTS) pas.asm
  87.  
  88. nsnd.obj : nsnd.asm lang.inc sdevice.inc
  89.     $(ASM) $(ASMOPTS) nsnd.asm
  90.  
  91. dma.obj : dma.asm lang.inc errors.inc dma.inc mmem.inc
  92.     $(ASM) $(ASMOPTS) dma.asm
  93.  
  94. dsm.obj : dsm.asm lang.inc errors.inc mglobals.inc dsm.inc dma.inc mmem.inc ems.inc sdevice.inc
  95.     $(ASM) $(ASMOPTS) dsm.asm
  96.  
  97. timer.obj : timer.asm errors.inc mglobals.inc lang.inc timer.inc ems.inc dma.inc dsm.inc sdevice.inc
  98.         $(ASM) $(ASMOPTS) timer.asm
  99.  
  100. ems.obj : ems.asm lang.inc errors.inc ems.inc mmem.inc
  101.     $(ASM) $(ASMOPTS) ems.asm
  102.  
  103. vu.obj : vu.asm lang.inc errors.inc vu.inc mmem.inc sdevice.inc
  104.         $(ASM) $(ASMOPTS) vu.asm
  105.  
  106.  
  107.  
  108. midas.h : lang.h mtypes.h errors.h mglobals.h mmem.h file.h sdevice.h \
  109.           mplayer.h s3m.h mod.h timer.h ems.h dma.h dsm.h vu.h
  110.         touch midas.h
  111.  
  112. midas.inc : lang.inc errors.inc mglobals.inc mmem.inc sdevice.inc \
  113.             lang.inc errors.inc mglobals.inc mmem.inc rawfile.inc file.inc \
  114.             sdevice.inc mplayer.inc timer.inc mod.inc s3m.inc dma.inc \
  115.             dsm.inc ems.inc vu.inc
  116.         touch midas.inc
  117.  
  118. file.h : rawfile.h
  119.         touch file.h
  120.