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