#
# ntf makefile for Borland C++ 5.5
#
# created: 12/16/2000 botman (botman@mailandnews.com)
#
# modified for NeoTF by BillDoor

CPP = bcc32 -w- -4

# uncomment the next line to turn on debugging information
#DEBUG = -v

# the following specifies the path to your MOD...
MOD_DIR = c:\sierra\Half-Life\tfc

INCLUDES = -I..\engine -I..\common -I..\pm_shared

OBJ =   dll.obj engine.obj h_export.obj util.obj \
        neotf.obj


ntf.dll:    ${OBJ} linkfunc.obj
	ilink32 -c -aa -q -Gn -Tpd -m ${DEBUG} c0d32.obj ${OBJ} \
        linkfunc.obj, $@, ntf.map, import32.lib cw32mt.lib, \
        ntf
        copy ntf.dll ${MOD_DIR}\dlls\ntf.dll /Y

linkfunc.obj:	linkfunc.cpp
	${CPP} ${DEBUG} ${INCLUDES} -u- -o$@ -c linkfunc.cpp

clean:
	-del *.obj
	-del *.dll
	-del *.map
	-del *.tds

.cpp.obj:
	${CPP} ${DEBUG} ${INCLUDES} -o$@ -c $<

.c.obj:
	${CPP} ${DEBUG} ${INCLUDES} -o$@ -c $<

