te: te_data.o te_utils.o te_subs.o te_main.o te_rdcmd.o te_exec0.o te_exec1.o te_exec2.o \
	te_srch.o te_chario.o te_window.o te_fxstub.o
	cc -o te te_data.o te_utils.o te_subs.o te_main.o te_rdcmd.o te_exec0.o te_exec1.o te_exec2.o \
	te_srch.o te_chario.o te_window.o te_fxstub.o -ltermcap

te_sun: te_data.o te_utils.o te_subs.o te_main.o te_rdcmd_sun.o te_exec0.o te_exec1.o \
	te_exec2.o te_srch.o te_chario_sun.o te_window.o te_fxstub.o
	cc -o te te_data.o te_utils.o te_subs.o te_main.o te_rdcmd_sun.o te_exec0.o te_exec1.o \
	te_exec2.o te_srch.o te_chario_sun.o te_window.o te_fxstub.o -ltermcap

te_sunw: te_data.o te_utils.o te_subs.o te_main.o te_rdcmd_sun.o te_exec0.o te_exec1.o \
	te_exec2.o te_srch.o te_chario_sunw.o te_window_sun.o te_fxstub.o
	cc -o te te_data.o te_utils.o te_subs.o te_main.o te_rdcmd_sun.o te_exec0.o te_exec1.o \
	te_exec2.o te_srch.o te_chario_sunw.o te_window_sun.o te_fxstub.o -ltermcap

te_tool: te_data.o te_utils.o te_subs.o te_main.o te_rdcmd_tt.o te_exec0.o te_exec1.o \
	te_exec2_tt.o te_srch.o te_chario_tt.o te_window_tt.o te_fxstub.o
	cc -o te te_data.o te_utils.o te_subs.o te_main.o te_rdcmd_tt.o te_exec0.o te_exec1.o \
	te_exec2_tt.o te_srch.o te_chario_tt.o te_window_tt.o te_fxstub.o -lsuntool -lsunwindow -lpixrect -ltermcap -ltermcap

tt:	tecotool.c teco.icon
	cc -o tt -O tecotool.c -lsuntool -lsunwindow -lpixrect -ltermcap

te_chario.o: te_defs.h te_chario.c
	cc -c -O te_chario.c
te_chario_sun.o: te_defs.h te_chario_sun.c
	cc -c -O te_chario_sun.c
te_chario_sunw.o: te_defs.h te_chario_sun.c
	cc -o te_chario_sunw.o -c -O -DSUNWINDOWS te_chario_sun.c
te_chario_tt.o: te_defs.h te_chario_sun.c
	cc -o te_chario_tt.o -c -O -DSUNWINDOWS -DTECOTOOL te_chario_sun.c
te_data.o: te_defs.h te_data.c
	cc -c -O te_data.c
te_exec0.o: te_defs.h te_exec0.c
	cc -c -O te_exec0.c
te_exec1.o: te_defs.h te_exec1.c
	cc -c -O te_exec1.c
te_exec2.o: te_defs.h te_exec2.c
	cc -c -O te_exec2.c
te_exec2_tt.o: te_defs.h te_exec2.c
	cc -o te_exec2_tt.o -c -O -DTECOTOOL te_exec2.c
te_fxstub.o: te_defs.h te_fxstub.c
	cc -c -O te_fxstub.c
te_main.o: te_defs.h te_main.c
	cc -c -O te_main.c
te_rdcmd.o: te_defs.h te_rdcmd.c
	cc -c -O te_rdcmd.c
te_rdcmd_sun.o: te_defs.h te_rdcmd_sun.c
	cc -c -O te_rdcmd_sun.c
te_rdcmd_tt.o: te_defs.h te_rdcmd_sun.c
	cc -o te_rdcmd_tt.o -c -O -DTECOTOOL te_rdcmd_sun.c
te_srch.o: te_defs.h te_srch.c
	cc -c -O te_srch.c
te_subs.o: te_defs.h te_subs.c
	cc -c -O te_subs.c
te_utils.o: te_defs.h te_utils.c
	cc -c -O te_utils.c
te_window.o: te_defs.h te_window.c
	cc -c -O te_window.c
te_window_sun.o: te_defs.h te_window_sun.c
	cc -c -O te_window_sun.c
te_window_tt.o: te_defs.h te_window_sun.c
	cc -o te_window_tt.o -c -O -DTECOTOOL te_window_sun.c
