--- mstools/samples/plgblt/makefile 2018/08/09 18:20:39 1.1 +++ mstools/samples/plgblt/makefile 2018/08/09 18:23:36 1.1.1.3 @@ -2,30 +2,26 @@ !include -# This line allows NMAKE to work as well - all: plgblt.exe # Update the resource if necessary -plgblt.res: plgblt.rc plgblt.h - rc -r -fo plgblt.tmp plgblt.rc - cvtres -$(CPU) plgblt.tmp -o plgblt.res - del plgblt.tmp +plgblt.rbj: plgblt.rc plgblt.h + rc -r -fo plgblt.res plgblt.rc + cvtres -$(CPU) plgblt.res -o plgblt.rbj # Update the object file if necessary plgblt.obj: plgblt.c plgblt.h track.h - $(cc) $(cflags) $(cvars) plgblt.c + $(cc) $(cdebug) $(cflags) $(cvars) plgblt.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. -plgblt.exe: plgblt.obj track.obj bitmap.obj plgblt.res plgblt.def - $(cvtobj) $(cvtdebug) *.obj - $(link) $(guiflags) -out:plgblt.exe plgblt.obj track.obj bitmap.obj plgblt.res $(guilibs) +plgblt.exe: plgblt.obj track.obj bitmap.obj plgblt.rbj plgblt.def + $(link) $(linkdebug) $(guiflags) -out:plgblt.exe plgblt.obj track.obj bitmap.obj plgblt.rbj $(guilibs)