CFLAGS=

chars.h: asciichar greekchar
	symcomp ascii <asciichar >chars.h
	echo "" >>chars.h
	symcomp greek <greekchar >>chars.h

symcomp: symcomp.c
	cc -s -o symcomp symcomp.c

plotdb: plotdb.c
	cc -n -s -o plotdb plotdb.c

lplot:	putsym.o lplot.o
	cc -i -s -o lplot lplot.o putsym.o -lm

putsym.o: chars.h

term: putsym.o term.o getws.o
	cc -n -s -o term term.o putsym.o getws.o -lcurses -ltermlib -lm

tek: tek.o putsym.o getws.o
	cc -n -s -o tek tek.o putsym.o getws.o -lm

clean:
	rm -f *.o plotdb lplot symcomp term tek

