#		Build lynx2html
OBJS=lynx2html.o parselinks.o defineswitch.o ismoretext.o \
refinehightext.o mystrstr.o convert_command_link.o convert_gopher_link.o \
ascii2num.o shorten_target.o is_url.o remove_backslashes.o

CFLAGS= -g

lynx2html : $(OBJS)
	cc  $(CFLAGS) -o lynx2html $(OBJS)

aix : 
	make lynx2html CFLAGS="-DAIX"

install : lynx2html
	csh install.csh

tar : clean
	cd ..; tar cvf lynx2html.tar lynx2html

clean :
	rm -f lynx2html
	rm -f *.o

lynx2html.o: defs.h
