# Makefile : Builds the mfchello application

CPPFLAGS= /AS /W3 /GA /GEs /G2
LINKFLAGS=/NOD

!if "$(DEBUG)"=="1"
CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Od /Zi /f
LINKFLAGS=$(LINKFLAGS) /COD
LIBS=safxcwd libw slibcew
!else
CPPFLAGS=$(CPPFLAGS) /Oselg /Gs
LINKFLAGS=$(LINKFLAGS) /FAR /PACKC
LIBS=safxcw libw slibcew
!endif

mfchello.exe:     mfchello.obj mfchello.def mfchello.res
        link $(LINKFLAGS) mfchello, mfchello, NUL, $(LIBS),mfchello.def;
        rc /t mfchello.res


mfchello.res:	mfchello.h mfchello.ico mfchello.dlg

mfchello.obj:	mfchello.h mfchello.cpp

clean:
        -erase mfchello.exe
        -erase mfchello.res
        -erase mfchello.obj
