--- mstools/samples/console/makefile 2018/08/09 18:20:36 1.1 +++ mstools/samples/console/makefile 2018/08/09 18:21:17 1.1.1.2 @@ -1,5 +1,13 @@ !include +# Turn off MIPS Debugging Support + +!if "$(CPU)" == "MIPS" +cdebug = +cvtdebug = +linkdebug = +!endif + all: console.exe console.exe: console.obj alocfree.obj create.obj fillatt.obj fillchar.obj \ @@ -7,7 +15,7 @@ console.exe: console.obj alocfree.obj cr getnumev.obj getlrgst.obj numbut.obj readout.obj readchar.obj \ scroll.obj size.obj handler.obj writein.obj $(cvtobj) $(cvtdebug) *.obj - $(link) $(conflags) -out:$*.exe $** $(conlibs) + $(link) $(linkdebug) $(conflags) -out:$*.exe $** $(conlibs) .c.obj: - $(cc) $(cflags) $(cvars) $*.c + $(cc) $(cdebug) $(cflags) $(cvars) $*.c