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