MEM = /AS COMPSW = /Od INCLUDES = -I. -I.. -Id:\c600\include -Id:\c600\include\sys #***************************************************************************** # makefile for 1401 #***************************************************************************** # Change Log # Date | Change #-----------+----------------------------------------------------------------- # 15-Nov-85 | Created # 24-Nov-85 | [1.98] Added CW # 7-Dec-85 | [1.151] Now called '1401.c', not 'track.c' # 11-Dec-85 | [1.164] Added MLC, MLZS # 12-Dec-85 | [1.172] Added MLNS # 12-Dec-85 | [1.174] Added SRF, SPF # 12-Dec-85 | [1.175] Added length module # 12-Dec-85 | [1.175] SS -> SWITCHES (preparing for SS module) # 13-Dec-85 | [1.181] Added MRCM # 13-Dec-85 | [1.183] Added SAR, cvbytes # 14-Dec-85 | [1.188] Added SBR # 15-Dec-85 | [1.199] Added BWZ # 15-Dec-85 | [1.201] Added C # 15-Dec-85 | [1.206] Added P # 15-Dec-85 | [1.209] Added WP, WRP, RP # 16-Dec-85 | [1.212] Added A, arith # 16-Dec-85 | [1.212] Now up to M6, I4 # 20-Dec-85 | [1.226] Added S, also up to I5 # 24-Dec-85 | [1.231] Added SELECT # 26-Dec-85 | [1.237] Arith depends on logic.h # 26-Dec-85 | [1.238] Added CU # 27-Dec-85 | [1.241] Added MCS # 27-Dec-85 | [1.242] Added ZA # 27-Dec-85 | [1.244] Added ZS # 27-Dec-85 | [1.247] Added MCE # 27-Dec-85 | [1.252] Added CC # 29-Dec-85 | [1.270] Added MA, now up to I6 # 29-Dec-85 | [1.270] Enter now depends on modes.h # 31-Dec-85 | [1.283] Added iocheck, now up to M7 # 11-Jan-86 | [1.293] Added keys.h file # 24-Jan-86 | [1.312] Added scan.obj # 24-Jan-86 | [1.314] 1401.obj no longer depends on keys.h # 24-Jan-86 | [1.314] Added dead.obj # 8-Feb-86 | [1.357] Added screen.h dependencies where required # 23-Feb-86 | [1.365] Numerous dependencies for color added as required # 25-Feb-86 | [1.374] added color.h # 25-Feb-86 | [1.379] Changed to p (large program) model # 25-Feb-86 | [1.380] Added /seg:256 to link command # 25-Feb-86 | [1.382] mach.obj depends on logic.h # 29-Jul-86 | [1.385] Added cdump module # 29-Jul-86 | [1.385] Fixed order of switches in LC1, LC2 commands so file # | is at end # 30-Jul-86 | [1.398] Added 'lamp' module # 31-Jul-86 | [1.405] Added kbd.obj # 6-Aug-86 | [1.410] Added bcd.h dependencies # 18-Aug-86 | [1.414] screen.h -> bscreen.h (ctools plus update) # 18-Aug-86 | [1.414] Removed ctools2 from linker command file # 19-Aug-86 | [1.422] Updated logic.obj dependencies # 19-Aug-86 | [1.423] display now depends upon debugcolor # 17-Nov-91 | [1.428] converted to C6.0/SageMake # 19-Nov-91 | [1.428] added printers.c # 23-Nov-91 | [1.468] added font.c # 3-Dec-91 | [1.220] added da.c # 2-Jan-92 | [1.261] added diag.obj #***************************************************************************** # Standard prolog COMPILER = d:\c600\bin\cl LINK = d:\c600\binb\link VDISK=e: LDISK=c: # no ASM for now ASM = .SUFFIXES SRCEXT = .c .asm .c.obj : del $*.obj set gc0= set gc1= set CL= /W2 /X $(INCLUDES) $(MEM) $(COMPSW) /Zi /c $(COMPILER) /Fo$*.obj $< if exist $*.obj goto $[r,$*] echo * * * Compilation of '$*' failed >> nolink $(WARN) :$[r,$*] .asm.obj : del $*.obj $(ASM) $*,$*,$*; if exist $*.obj goto $* echo * * * Assembly of $* failed >> nolink :$* include makefile.fil autocoder.exe: \ asmops.obj \ autocode.obj \ bcd.obj \ boot.obj \ chars.obj \ da.obj \ dc.obj \ diag.obj \ ds.obj \ dsa.obj \ end.obj \ equ.obj \ error.obj \ expr.obj \ font.obj \ job.obj \ list.obj \ lit.obj \ machop.obj \ memory.obj \ operand.obj \ org.obj \ pass1.obj \ pass2.obj \ prdev.obj \ printers.obj \ rdy.obj \ skipn.obj \ sym.obj \ version.obj \ autocoder.lnk if exist nolink goto nolink $(LINK) @autocode.lnk if errorlevel 1 goto end version version.c version.ver :nolink :end ############################################################################## # Object file specifications ############################################################################## asmops.obj : asmops.h asmops.c autocode.obj : automem.h err.h ste.h sym.h pass1.h pass2.h error.h \ operand.h list.h ..\pr.h printers.h ..\printers.h autocode.c bcd.obj : ..\bcd.c ..\mach.h ..\machmem.h bcd.c boot.obj : ..\instr.h ..\machmem.h automem.h operand.h ..\bcd.h boot.h \ boot.c chars.obj : ..\chars.c ..\chars.h chars.c da.obj : ..\machmem.h asmops.h ..\chars.h ste.h sym.h error.h err.h \ operand.h operands.h automem.h pass1.h pos.h automem.h ..\bcd.h \ list.h expr.h da.c dc.obj : pos.h ..\machmem.h automem.h operands.h err.h ..\bcd.h expr.h \ list.h ste.h sym.h ds.h error.h operand.h ..\chars.h dc.c diag.obj : diag.c ds.obj : err.h expr.h operands.h pos.h ste.h sym.h pass1.h operand.h \ error.h list.h ds.h ds.c dsa.obj : pos.h ..\machmem.h automem.h operands.h err.h expr.h operand.h \ error.h list.h ..\bcd.h ds.h dsa.c end.obj : err.h operands.h expr.h error.h list.h expr.h operand.h end.c equ.obj : ste.h err.h operands.h sym.h expr.h pass1.h operand.h error.h \ list.h equ.c error.obj : list.h error.c expr.obj : ste.h err.h sym.h expr.h error.h ..\bcd.h autocode.h expr.c font.obj : ..\font.c ..\font.h font.c job.obj : err.h line.h ste.h pass1.h list.h job.c list.obj : error.h err.h list.h operand.h operands.h ..\bcd.h ..\pr.h \ printers.h ..\printers.h expr.h list.c lit.obj : pos.h ste.h sym.h list.h pass1.h operand.h operands.h expr.h \ error.h err.h lit.c machop.obj : asmops.h automem.h ..\machmem.h ste.h pass1.h pass2.h list.h \ ..\bcd.h ..\chars.h machop.c memory.obj : err.h error.h memory.c operand.obj : expr.h line.h automem.h ..\machmem.h operand.h ..\bcd.h \ boot.h operands.h ..\instr.h operand.c org.obj : err.h operands.h expr.h operand.h error.h ste.h pass1.h list.h \ org.c pass1.obj : line.h err.h asmops.h automem.h ..\machmem.h ste.h operands.h \ expr.h autocode.h sym.h error.h pass1.h operand.h startloc.h \ da.h pass1.c pass2.obj : line.h err.h asmops.h automem.h ..\machmem.h ste.h operands.h \ expr.h pass1.h pass2.h autocode.h list.h sym.h expr.h ..\bcd.h \ error.h operand.h startloc.h da.h pass2.c prdev.obj : ..\prdev.c ..\font.h ..\pr.h ..\prdev.h ..\chars.h ..\btypes.h \ ..\diag.h ..\rdy.h prdev.c printers.obj : ..\printers.c ..\pr.h ..\prdev.h ..\vprdev.h printers.c rdy.obj : ..\rdy.c ..\rdy.h rdy.c skipn.obj : err.h line.h list.h skipn.c sym.obj : ste.h err.h automem.h ..\machmem.h sym.h error.h expr.h list.h \ ..\bcd.h sym.c version.obj : version.c