--- mstools/samples/console/makefile 2018/08/09 18:20:36 1.1 +++ mstools/samples/console/makefile 2018/08/09 18:23:13 1.1.1.3 @@ -1,13 +1,25 @@ !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 \ flush.obj cursor.obj conmode.obj coninfo.obj contitle.obj \ 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) + scroll.obj size.obj handler.obj writein.obj console.rbj + $(link) $(linkdebug) $(conflags) -out:$*.exe $** $(conlibs) \ + user32.lib .c.obj: - $(cc) $(cflags) $(cvars) $*.c + $(cc) $(cdebug) $(cflags) $(cvars) $*.c + +console.rbj: console.rc console.ico + rc -r -fo $*.res $*.rc + cvtres -$(CPU) $*.res -o $*.rbj