.KEEP_STATE:

CCFLAGS = -O4 -g
CCC = /usr/bin/g++
LIBS = -lm -L/usr/lib

all : test1 testComplexes
MyClass.o : MyClass.cpp
	${CCC} -c MyClass.cpp -o MyClass.o ${CCFLAGS}
test.o : test.cpp
	${CCC} -c test.cpp -o test.o ${CCFLAGS}
testComplexes.o : testComplexes.cpp
	${CCC} -c testComplexes.cpp -o testComplexes.o ${CCFLAGS}
test1: test.o MyClass.o
	${CCC} -o test1 test.o MyClass.o ${LIBS} ${CCFLAGS}
testComplexes : testComplexes.o
	${CCC} -o testComplexes testComplexes.o ${LIBS} ${CCFLAGS}
clean:
	rm -f *.o core *~

