CC     = gcc
CFLAGS = -Wall -DPOSIX
LDFLAGS= 

testgl: getline.a testgl.o
	$(CC) $(LDFLAGS) $(CFLAGS) -o testgl testgl.o -L. -lgetline

getline.a: getline.o
	ar cr getline.a getline.o
#	-ranlib libgetline.a

clean:
	rm -f *.o *.a testgl
