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