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