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