#
#
# This make file is for the illustrt program for Borland C++ 2.0
# (Using Ansi C though).
#
#					Gershon Elber, June 1993
#

# Works only on TC++ 1.0 make and up - swap out make before invoking command.
# .SWAP

# Includes generic definitions.
!include "..\makeflag.tc"

OBJS =  illustrt.obj intersct.obj spltsort.obj

# The {$< } is also new to TC++ 1.0 make - remove the { } pair if your make
# choke on them (the { } signals batch mode that combines few operation at the
# same time - very nice feature!).
.c.obj:
	$(CC) -I$(INC_DIR) $(CFLAGS) {$< }

illustrt.exe: $(OBJS)
	$(LNK) @&&!
$(TC_LIB_DIR)\c0l+
$(OBJS)
illustrt.exe
illustrt.map
$(LIBS)
!$(LFLAGS)

install: illustrt.exe
	copy illustrt.exe $(BIN_DIR)
	del illustrt.exe 
	copy illustrt.cfg $(BIN_DIR)

# Dependencies starts here - do not touch, generated automatically.
illustrt.obj:	program.h ../include/config.h ../include/iritgrap.h ../include/allocate.h ../include/poly_cln.h ../include/geomat3d.h ../include/getarg.h ../include/ip_cnvrt.h
intersct.obj:	program.h ../include/imalloc.h ../include/ln_sweep.h
spltsort.obj:	program.h ../include/imalloc.h
