include ../../include.mk
binPath = ../../bin
libPath = ../../lib

all : ${libPath}/cuTest.a

clean : 
#Removing test binaries
	rm -f ${libPath}/cuTest.a ${libPath}/CuTest.h

${libPath}/cuTest.a : CuTest.c CuTest.h
	@mkdir -p $(dir $@)
	${cxx} $(CPPFLAGS) $(CFLAGS) ${cflags} -c CuTest.c
	ar rc cuTest.a *.o
	ranlib cuTest.a
	rm -f *.o
	mv cuTest.a ${libPath}/
	cp CuTest.h ${libPath}/
