home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-06-28 | 5.1 KB | 221 lines |
- # Makefile for cmt stuff
- # Last modified date: 20-Jul-86
-
- #CURRENT is the exe file we want to make now.
- #CURRENT = adagio.exe
- #EVERYTHING is everything this makefile knows how to make
- #E1 = adagio.exe mm.exe moxc.obj dxget.exe dxput.exe
- #E2 = record.exe transcri.exe tuning.exe
- #EVERYTHING = $(E1) $(E2)
-
- #INIT = rem Current default file to make is $(CURRENT)
- #DEINIT = echo Finished OK.`n:errdone`necho Done
- # #DEINIT = echo Finished OK.`n:errdone`necho Done
- # #BEFORE = echo before
- #AFTER = if errorlevel 1 goto errdone
-
- mscARGS = /AS /c
- masmARGS = /ML
- CLIB = # slibc.lib
- MLIB =
- COBJ =
- CMTLIB = cmt.lib
- LIBS = $(CLIB) $(CMTLIB) $(MLIB)
-
- MUOBJ1 = aintr.obj atxt.obj break.obj cintr.obj cmdline.obj
- MUOBJ2 = moxcasci.obj moxcbend.obj moxcctrl.obj moxckydn.obj moxckyup.obj
- MUOBJ3 = moxcpddn.obj moxcpdup.obj moxcprgm.obj moxctouc.obj
- MUOBJ4 = mpu.obj userio.obj timdif.obj
- MUOBJ = $(MUOBJ1) $(MUOBJ2) $(MUOBJ3) $(MUOBJ4)
-
- ADH = adagio.h phase1.h phase2.h atxt.h userio.h cmdline.h
- ADOBJ = adagio.obj phase1.obj phase2.obj adaspace.obj noteoff.obj
-
- DXGOBJ = dxget.obj excldesc.obj
-
- DXPOBJ = dxput.obj excldesc.obj
-
- MMOBJ = mm.obj
-
- RECOBJ = recmain.obj recspace.obj phase1.obj trans2.obj noteoff.obj record.obj
-
- TRH = mpu.h cmdline.h userio.h record.h
- TROBJ = transcri.obj traspace.obj record.obj
-
- #current : $(CURRENT)
- # echo making $(CURRENT)
-
- #everything : $(EVERYTHING)
- # echo making $(EVERYTHING)
-
- adagio.obj : $(ADH) adagio.c
- cl $(mscARGS) adagio,,,;
-
- adaspace.obj : adaspace.c
- cl $(mscARGS) adaspace,,,;
-
- aintr.obj : aintr.asm
- masm aintr $(masmARGS),,;
-
- atxt.obj : atxt.asm
- masm atxt $(masmARGS),,;
-
- break.obj : break.asm
- masm break $(masmARGS),,;
-
- pekpok.obj : pekpok.asm
- masm pekpok $(masmARGS),,;
-
- cintr.obj : cmdline.h cintr.c
- cl $(mscARGS) cintr,,,;
-
- cmdline.obj : cmdline.c
- cl $(mscARGS) cmdline,,,;
-
- dxget.obj : dxget.c
- cl $(mscARGS) dxget,,,;
-
- dxput.obj : dxput.c
- cl $(mscARGS) dxput,,,;
-
- excldesc.obj : excldesc.c midicode.h
- cl $(mscARGS) excldesc,,,;
-
- mm.obj : midicode.h mpu.h mm.c
- cl $(mscARGS) mm,,,;
-
- moxc.obj : mpu.h cmdline.h midicode.h moxc.c
- cl $(mscARGS) moxc,,,;
-
- moxcasci.obj : moxcasci.c
- cl $(mscARGS) moxcasci,,,;
-
- moxcbend.obj : moxcbend.c
- cl $(mscARGS) moxcbend,,,;
-
- moxcctrl.obj : moxcctrl.c
- cl $(mscARGS) moxcctrl,,,;
-
- moxckydn.obj : moxckydn.c
- cl $(mscARGS) moxckydn,,,;
-
- moxckyup.obj : moxckyup.c
- cl $(mscARGS) moxckyup,,,;
-
- moxcpddn.obj : moxcpddn.c
- cl $(mscARGS) moxcpddn,,,;
-
- moxcpdup.obj : moxcpdup.c
- cl $(mscARGS) moxcpdup,,,;
-
- moxcprgm.obj : moxcprgm.c
- cl $(mscARGS) moxcprgm,,,;
-
- moxctouc.obj : moxctouc.c
- cl $(mscARGS) moxctouc,,,;
-
- mpu.obj : mpu.c mpu.h atxt.h midicode.h cmdline.h userio.h pitch.h
- cl $(mscARGS) mpu,,,;
-
- noteoff.obj : adagio.h noteoff.c
- cl $(mscARGS) noteoff,,,;
-
- phase1.obj : adagio.h cmdline.h phase1.c
- cl $(mscARGS) phase1,,,;
-
- phase2.obj : adagio.h mpu.h userio.h phase2.c
- cl $(mscARGS) phase2,,,;
-
- recmain.obj : adagio.h phase1.h phase2.h atxt.h userio.h cmdline.h recmain.c
- cl $(mscARGS) recmain,,,;
-
- record.obj : mpu.h userio.h midicode.h record.c
- cl $(mscARGS) record,,,;
-
- recspace.obj : recspace.c
- cl $(mscARGS) recspace,,,;
-
- timdif.obj : timdif.asm timdif.h macsym.lib prcsym.lib
- masm timdif $(masmARGS),,;
-
- trans2.obj : adagio.h mpu.h record.h userio.h trans2.c
- cl $(mscARGS) trans2,,,;
-
- transcri.obj : $(TRH) transcri.c
- cl $(mscARGS) transcri,,,;
-
- traspace.obj : traspace.c
- cl $(mscARGS) traspace,,,;
-
- tuning.obj : tuning.c pitch.h
- cl $(mscARGS) tuning,,,;
-
- userio.obj : userio.c userio.h
- cl $(mscARGS) userio,,,;
-
- cmt.lib : $(MUOBJ) cmt.lnk
- lib @cmt.lnk
-
- adagio.exe : $(ADOBJ) $(CMTLIB)
- link $(COBJ) $(ADOBJ),adagio,,$(LIBS)
-
- dxget.exe : $(DXGOBJ) $(CMTLIB)
- link $(COBJ) $(DXGOBJ),dxget,,$(LIBS)
-
- dxput.exe : $(DXPOBJ) $(CMTLIB)
- link $(COBJ) $(DXPOBJ),dxput,,$(LIBS)
-
- mm.exe : $(MMOBJ) $(CMTLIB)
- link $(COBJ) $(MMOBJ),mm,,$(LIBS)
-
- record.exe : $(RECOBJ) $(CMTLIB)
- link $(COBJ) $(RECOBJ),record,,$(LIBS)
-
- transcri.exe : $(TROBJ) $(CMTLIB)
- link $(COBJ) $(TROBJ),transcri,,$(LIBS)
-
- tuning.exe : tuning.obj $(CMTLIB)
- link $(COBJ) tuning,tuning,,$(LIBS)
-
- clean :
- del *.map
- del *.lst
- del *.cod
-
- # clean out all but moxc.obj (needed for cmtl.bat)
- cleanob :
- del adagio.obj
- del adaspace.obj
- del aintr.obj
- del atxt.obj
- del break.obj
- del pekpok.obj
- del cintr.obj
- del cmdline.obj
- del dxget.obj
- del dxput.obj
- del excldesc.obj
- del mm.obj
- del moxcasci.obj
- del moxcbend.obj
- del moxcctrl.obj
- del moxckydn.obj
- del moxckyup.obj
- del moxcpddn.obj
- del moxcpdup.obj
- del moxcprgm.obj
- del moxctouch.obj
- del mpu.obj
- del noteoff.obj
- del phase1.obj
- del phase2.obj
- del recmain.obj
- del record.obj
- del recspace.obj
- del timdif.obj
- del trans2.obj
- del transcri.obj
- del traspace.obj
- del tuning.obj
- del userio.obj
-