CFLAGS=-O -I. -I../include

P = libfs.a

.PRECIOUS:	$P

lib:	$P

testkey:	testkey.o $P
	$(CC) testkey.o $P -lcurses -o testkey

test:	test.o $P
	$(CC) test.o $P -g -lcurses -o test

gdraw:	gdraw.o gscreen.o $P
	$(CC) gdraw.o gscreen.o $P -lcurses -o gdraw

POBJS = pcurses inkey ossig initkey ksync cmode display kname getkey oskey \
	errvdesc errenv nap

$P:	$(POBJS:%=$P(%.o))

tar:
	tar cvf fps.tar *.c *.h  makefile INFO README
	gzip -v fps.tar
