DEBUG=/de
DEBUGMEM=/tm
#BROWSE=/BROWSE
CFLAGS=/Ge+ /Gm+ /Gd+ /Ti $(DEBUGMEM) /C+ /G5 /Q+

all: Test.exe

Test.exe: Test.obj  \
          Test.def  \
          Test.res
          ilink /NOLOGO $(DEBUG) $(BROWSE) Test.obj Test.def JLib0150.Lib
          rc Test.res Test.exe

.cpp.obj:
   icc $(CFLAGS) /Fo$* $<

Test.obj: Test.cpp Test.hpp

Test.res: Test.rc Test.h
          rc /r Test.rc Test.res
