#
# This is the make file for the iritfltr dir using DJGCC on the IBMPC.
#
#				Gershon Elber, Aug 1990
#

!include "..\makeflag.djg"

all: irit2ray.exe irit2ps.exe irit2xfg.exe irit2nff.exe dat2irit.exe \
	dxf2irit.exe irit2dxf.exe irit2scn.exe irit2plg.exe irit2iv.exe \
	irit2hgl.exe dat2bin.exe skeletn1.exe


IRIT2RAY_OBJS	= irit2ray.obj ffcnvrt.obj

IRIT2PS_OBJS	= irit2ps.obj ffcnvrt.obj

IRIT2XFG_OBJS	= irit2xfg.obj ffcnvrt.obj

IRIT2HGL_OBJS	= irit2hgl.obj ffcnvrt.obj

IRIT2NFF_OBJS	= irit2nff.obj ffcnvrt.obj

DAT2IRIT_OBJS	= dat2irit.obj ffcnvrt.obj

DXF2IRIT_OBJS	= dxf2irit.obj ffcnvrt.obj

IRIT2DXF_OBJS	= irit2dxf.obj ffcnvrt.obj

IRIT2SCN_OBJS	= irit2scn.obj ffcnvrt.obj

IRIT2PLG_OBJS	= irit2plg.obj ffcnvrt.obj

IRIT2IV_OBJS	= irit2iv.obj ffcnvrt.obj

DAT2BIN_OBJS	= dat2bin.obj

SKELETN1_OBJS	= skeletn1.obj ffcnvrt.obj


irit2ray.exe:	$(IRIT2RAY_OBJS)
	$(CC) $(CFLAGS) -o irit2ray @&&!
$(IRIT2RAY_OBJS) $(LIBS) -lm
!
	strip irit2ray
	aout2exe irit2ray
	del irit2ray

irit2ps.exe:	$(IRIT2PS_OBJS)
	$(CC) $(CFLAGS) -o irit2ps @&&!
$(IRIT2PS_OBJS) $(LIBS) -lm
!
	strip irit2ps
	aout2exe irit2ps
	del irit2ps

irit2xfg.exe:	$(IRIT2XFG_OBJS)
	$(CC) $(CFLAGS) -o irit2xfg @&&!
$(IRIT2XFG_OBJS) $(LIBS) -lm
!
	strip irit2xfg
	aout2exe irit2xfg
	del irit2xfg

irit2hgl.exe:	$(IRIT2HGL_OBJS)
	$(CC) $(CFLAGS) -o irit2hgl @&&!
$(IRIT2HGL_OBJS) $(LIBS) -lm
!
	strip irit2hgl
	aout2exe irit2hgl
	del irit2hgl

irit2nff.exe:	$(IRIT2NFF_OBJS)
	$(CC) $(CFLAGS) -o irit2nff @&&!
$(IRIT2NFF_OBJS) $(LIBS) -lm
!
	strip irit2nff
	aout2exe irit2nff
	del irit2nff

dat2irit.exe:	$(DAT2IRIT_OBJS)
	$(CC) $(CFLAGS) -o dat2irit @&&!
$(DAT2IRIT_OBJS) $(LIBS) -lm
!
	strip dat2irit
	aout2exe dat2irit
	del dat2irit

dxf2irit.exe:	$(DXF2IRIT_OBJS)
	$(CC) $(CFLAGS) -o dxf2irit @&&!
$(DXF2IRIT_OBJS) $(LIBS) -lm
!
	strip dxf2irit
	aout2exe dxf2irit
	del dxf2irit

irit2dxf.exe:	$(IRIT2DXF_OBJS)
	$(CC) $(CFLAGS) -o irit2dxf @&&!
$(IRIT2DXF_OBJS) $(LIBS) -lm
!
	strip irit2dxf
	aout2exe irit2dxf
	del irit2dxf

irit2scn.exe:	$(IRIT2SCN_OBJS)
	$(CC) $(CFLAGS) -o irit2scn @&&!
$(IRIT2SCN_OBJS) $(LIBS) -lm
!
	strip irit2scn
	aout2exe irit2scn
	del irit2scn

irit2plg.exe:	$(IRIT2PLG_OBJS)
	$(CC) $(CFLAGS) -o irit2plg @&&!
$(IRIT2PLG_OBJS) $(LIBS) -lm
!
	strip irit2plg
	aout2exe irit2plg
	del irit2plg

irit2iv.exe:	$(IRIT2IV_OBJS)
	$(CC) $(CFLAGS) -o irit2iv @&&!
$(IRIT2IV_OBJS) $(LIBS) -lm
!
	strip irit2iv
	aout2exe irit2iv
	del irit2iv

skeletn1.exe:	$(SKELETN1_OBJS)
	$(CC) $(CFLAGS) -o skeletn1 @&&!
$(SKELETN1_OBJS) $(LIBS) -lm
!
	strip skeletn1
	aout2exe skeletn1
	del skeletn1

dat2bin.exe:	$(DAT2BIN_OBJS)
	$(CC) $(CFLAGS) -o dat2bin @&&!
$(SKELETN1_OBJS) $(LIBS) -lm
!
	strip dat2bin
	aout2exe dat2bin
	del dat2bin

install: all
	copy irit2ray.exe $(BIN_DIR_DOS)
	del  irit2ray.exe
	copy irit2ps.exe $(BIN_DIR_DOS)
	del  irit2ps.exe
	copy irit2xfg.exe $(BIN_DIR_DOS)
	del  irit2xfg.exe
	copy irit2hgl.exe $(BIN_DIR_DOS)
	del  irit2hgl.exe
	copy irit2nff.exe $(BIN_DIR_DOS)
	del  irit2nff.exe
	copy dat2irit.exe $(BIN_DIR_DOS)
	del  dat2irit.exe
	copy dxf2irit.exe $(BIN_DIR_DOS)
	del  dxf2irit.exe
	copy irit2dxf.exe $(BIN_DIR_DOS)
	del  irit2dxf.exe
	copy irit2scn.exe $(BIN_DIR_DOS)
	del  irit2scn.exe
	copy irit2plg.exe $(BIN_DIR_DOS)
	del  irit2plg.exe
	copy irit2iv.exe $(BIN_DIR_DOS)
	del  irit2iv.exe
	copy dat2bin.exe $(BIN_DIR_DOS)
	del  dat2bin.exe
	copy skeletn1.exe $(BIN_DIR_DOS)
	del  skeletn1.exe

# Dependencies starts here - do not touch, generated automatically.
dat2irit.o:	../include/irit_sm.h ../include/iritprsr.h ../include/attribut.h ../include/getarg.h ../include/genmat.h
dxf2irit.o:	../include/irit_sm.h ../include/iritprsr.h ../include/allocate.h ../include/attribut.h ../include/getarg.h ../include/genmat.h
ffcnvrt.o:	../include/irit_sm.h ../include/iritprsr.h ../include/allocate.h ffcnvrt.h ../include/ip_cnvrt.h
irit2dxf.o:	../include/irit_sm.h ../include/iritprsr.h ../include/allocate.h ../include/attribut.h ../include/iritgrap.h ../include/getarg.h ../include/genmat.h ffcnvrt.h ../include/ip_cnvrt.h
irit2iv.o:	../include/irit_sm.h ../include/iritprsr.h ../include/allocate.h ../include/attribut.h ../include/iritgrap.h ../include/geomat3d.h ../include/getarg.h ../include/genmat.h ffcnvrt.h ../include/ip_cnvrt.h
irit2nff.o:	../include/irit_sm.h ../include/iritprsr.h ../include/allocate.h ../include/attribut.h ../include/iritgrap.h ../include/getarg.h ../include/genmat.h ffcnvrt.h ../include/ip_cnvrt.h
irit2plg.o:	../include/irit_sm.h ../include/iritprsr.h ../include/allocate.h ../include/attribut.h ../include/iritgrap.h ../include/getarg.h ../include/genmat.h ffcnvrt.h ../include/ip_cnvrt.h
irit2ps.o:	../include/irit_sm.h ../include/iritprsr.h ../include/allocate.h ../include/attribut.h ../include/iritgrap.h ../include/geomat3d.h ../include/getarg.h ../include/bbox.h ../include/genmat.h ffcnvrt.h ../include/ip_cnvrt.h
irit2ray.o:	../include/irit_sm.h ../include/iritprsr.h ../include/allocate.h ../include/attribut.h ../include/iritgrap.h ../include/getarg.h ../include/genmat.h ffcnvrt.h ../include/ip_cnvrt.h
irit2scn.o:	../include/irit_sm.h ../include/iritprsr.h ../include/allocate.h ../include/attribut.h ../include/iritgrap.h ../include/getarg.h ../include/genmat.h ffcnvrt.h ../include/ip_cnvrt.h
irit2xfg.o:	../include/irit_sm.h ../include/iritprsr.h ../include/allocate.h ../include/attribut.h ../include/iritgrap.h ../include/getarg.h ../include/genmat.h ffcnvrt.h
skeletn1.o:	../include/irit_sm.h ../include/iritprsr.h ../include/attribut.h ../include/allocate.h ../include/iritgrap.h ../include/getarg.h ../include/genmat.h ffcnvrt.h ../include/ip_cnvrt.h
