DEBUG=/de
CDEBUG=/Ti
CFLAGS=/Ge+ /Gm+ /Gd+ /Ti $(DEBUGMEM) /C+ /G5 /Q+ /DREALLY_THROW_EXCEPTIONS

all: JDebug.exe

JDebug.exe: JDebug.obj  \
            JDebug.def  \
            JDebug.res
            ilink /NOLOGO $(DEBUG) jdebug.obj jdebug.def jlib0150.lib /out:$@
            rc JDebug.res JDebug.exe
            copy JDebug.exe H:\Tools

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

JDebug.obj: JDebug.cpp JDebug.hpp JDebug.h

JDebug.res: JDebug.rc JDebug.h
            rc /r Jdebug.rc JDebug.res
