debug=1
exe = hello1.exe
objs = hello1.obj
res = hello1.res
extralib = lib tracer.lib

goal: tracer.lib hello1.exe .symbolic
    @%null
   
!include ..\master.mif

tracer.lib : tracer.dll
    wlib -b -c -n -q $^@ +$[@

tracer.dll : tracer.obj tracer.lnk tracer.res
    wlink.exe $(lflags) file $[@ @$^&.lnk
!ifdef res
    wrc.exe $(rflags) $]@ $^@
!endif

tracer.lnk : $(__MAKEFILES__)
    %create $^@
    @%append $^@ system nt_dll initinstance terminstance
    
tracer.obj : tracer.cpp traceapi.h
    wpp386.exe $[@ $(cflags) $(dbgflags) $(dllflags)
    
