--- q_a/samples/paths/makefile 2018/08/09 18:29:19 1.1.1.1 +++ q_a/samples/paths/makefile 2018/08/09 18:29:22 1.1.1.2 @@ -2,23 +2,21 @@ !include -# This line allows NMAKE to work as well - all: paths.exe # Update the resource if necessary -paths.res: paths.rc paths.h - rc -r -fo paths.tmp paths.rc - cvtres -$(CPU) paths.tmp -o paths.res - del paths.tmp +paths.rbj: paths.rc paths.h + rc -r -fo paths.res paths.rc + cvtres -$(CPU) paths.res -o paths.rbj # Update the object file if necessary paths.obj: paths.c paths.h - $(cc) $(cflags) $(cvars) paths.c + $(cc) $(cdebug) $(cflags) $(cvars) paths.c # Update the executable file if necessary, and if so, add the resource back in. -paths.exe: paths.obj paths.res paths.def - $(link) $(guiflags) -out:paths.exe paths.obj paths.res $(guilibs) +paths.exe: paths.obj paths.rbj paths.def + $(cvtobj) $(cvtdebug) *.obj + $(link) $(linkdebug) $(guiflags) -out:paths.exe paths.obj paths.rbj $(guilibs)