#
# Makefile for the IRIT solid modeler documentation (TC).
#

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

# Includes generic definitions.
include ..\makeflag.wnt

all:	irit.tex irit.doc irit.hlp

irit.tex:
	.\irithlp -l -o irit.tex irit.src

irit.doc:
	.\irithlp -t -o irit.doc irit.src

irit.hlp:
	.\irithlp -h -o irit.hlp irit.src

HELP_OBJS = irithlp.obj

irithlp.exe: $(HELP_OBJS)
	$(IRITCONLINK) -out:irithlp.exe $(HELP_OBJS) $(LIBS) $(W32CONLIBS)

install: irit.hlp
	copy irit.hlp $(BIN_DIR)
	del irit.hlp

irit.tex: irithlp.exe irit.src
irit.doc: irithlp.exe irit.src
irit.hlp: irithlp.exe irit.src
