#
# 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.tc"

all:	irit.tex irit.doc irit.hlp

.src.tex:
	.\irithlp -l -o $*.tex $<

.src.doc:
	.\irithlp -t -o $*.doc $<

.src.hlp:
	.\irithlp -h -o $*.hlp $<

HELP_OBJS = irithlp.obj

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


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
