CC = gcc
AR = ar
CFLAGS = 

all: libclear libcleartest cleanup

libclear:
	@echo 'Did you know that libclear can clear the screen??!!!!!!!'
	@${CC} ${CFLAGS} -c -o libclear.o libclear.c
	@${AR} scr libclear.a libclear.o

libcleartest:
	@echo 'It is really true!  I am compiling a test for you right now!!!!'
	@${CC} ${CFLAGS} -L. -o libcleartest libcleartest.c -lclear

cleanup:
	@echo 'Wow!! Its done!  Just type libcleartest to see a test!!!!!!!!!!'
	@rm -f libclear.o

clean:
	@echo 'Cleaning up! Please send me an email!  mikef@alexis.prism.net!!!'
	@rm -f libclear.o libclear.a libcleartest
