--- mstools/samples/mcitest/makefile 2018/08/09 18:22:16 1.1 +++ mstools/samples/mcitest/makefile 2018/08/09 18:24:30 1.1.1.2 @@ -9,7 +9,7 @@ all: mcitest.exe # Update the resource if necessary mcitest.res: mcitest.rc mcitest.h mcitest.ico mcimain.dlg mcimain.h - rc -r mcitest.rc + $(rc) $(rcvars) -r mcitest.rc mcitest.rbj: mcitest.res cvtres -$(CPU) mcitest.res -o mcitest.rbj @@ -17,19 +17,18 @@ mcitest.rbj: mcitest.res # Update the object file if necessary mcitest.obj: mcitest.c mcitest.h mcimain.h - $(cc) $(cflags) $(cvars) $(cdebug) mcitest.c + $(cc) $(scall) $(cflags) $(cvars) $(cdebug) mcitest.c debug.obj: debug.c mcimain.h - $(cc) $(cflags) $(cvars) $(cdebug) debug.c + $(cc) $(scall) $(cflags) $(cvars) $(cdebug) debug.c fileopen.obj: fileopen.c mcimain.h - $(cc) $(cflags) $(cvars) $(cdebug) fileopen.c + $(cc) $(scall) $(cflags) $(cvars) $(cdebug) fileopen.c edit.obj: edit.c edit.h mcimain.h - $(cc) $(cflags) $(cvars) $(cdebug) edit.c + $(cc) $(scall) $(cflags) $(cvars) $(cdebug) edit.c # Update the executable file if necessary, and if so, add the resource back in. mcitest.exe: mcitest.obj debug.obj fileopen.obj edit.obj mcitest.rbj mcitest.def - $(cvtobj) $(cvtdebug) *.obj $(link) $(linkdebug) $(conflags) -out:mcitest.exe mcitest.obj edit.obj debug.obj fileopen.obj mcitest.rbj $(guilibs) $(my_lib)