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