--- mstools/samples/playsnd/makefile 2018/08/09 18:21:49 1.1.1.1 +++ mstools/samples/playsnd/makefile 2018/08/09 18:23:55 1.1.1.2 @@ -6,11 +6,11 @@ all: playsnd.exe # Update the help file if necessary playsnd.hlp : playsnd.rtf - hc $(hcopts) playsnd.hpj + $(hc) $(hcopts) playsnd.hpj # Update the resource if necessary playsnd.res: playsnd.rc sounddlg.dlg sounddlg.h about.dlg playsnd.ico - rc -r playsnd.rc + $(rc) $(rcvars) -r playsnd.rc playsnd.rbj: playsnd.res cvtres -$(CPU) playsnd.res -o playsnd.rbj @@ -18,29 +18,28 @@ playsnd.rbj: playsnd.res # Update the object files if necessary playsnd.obj: playsnd.c playsnd.h - $(cc) $(cflags) $(cvars) $(cdebug) playsnd.c + $(cc) $(scall) $(cflags) $(cvars) $(cdebug) playsnd.c sound.obj: sound.c playsnd.h - $(cc) $(cflags) $(cvars) $(cdebug) sound.c + $(cc) $(scall) $(cflags) $(cvars) $(cdebug) sound.c res.obj: res.c playsnd.h - $(cc) $(cflags) $(cvars) $(cdebug) res.c + $(cc) $(scall) $(cflags) $(cvars) $(cdebug) res.c init.obj: init.c playsnd.h - $(cc) $(cflags) $(cvars) $(cdebug) init.c + $(cc) $(scall) $(cflags) $(cvars) $(cdebug) init.c help.obj: help.c playsnd.h - $(cc) $(cflags) $(cvars) $(cdebug) help.c + $(cc) $(scall) $(cflags) $(cvars) $(cdebug) help.c file.obj: file.c playsnd.h - $(cc) $(cflags) $(cvars) $(cdebug) file.c + $(cc) $(scall) $(cflags) $(cvars) $(cdebug) file.c debug.obj: debug.c playsnd.h - $(cc) $(cflags) $(cvars) $(cdebug) debug.c + $(cc) $(scall) $(cflags) $(cvars) $(cdebug) debug.c about.obj: about.c playsnd.h - $(cc) $(cflags) $(cvars) $(cdebug) about.c + $(cc) $(scall) $(cflags) $(cvars) $(cdebug) about.c playsnd.exe: playsnd.obj playsnd.rbj playsnd.def playsnd.hlp sound.obj res.obj init.obj help.obj file.obj debug.obj about.obj - $(cvtobj) $(cvtdebug) *.obj $(link) $(linkdebug) $(conflags) playsnd.obj playsnd.rbj sound.obj res.obj init.obj help.obj file.obj debug.obj about.obj $(my_lib) $(guilibs) -out:playsnd.exe