.KEEP_STATE:

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

all : testListInt Node.o LinkedList.o
NodeInt.o : NodeInt.cpp
	${CCC} -c NodeInt.cpp -o NodeInt.o ${CCFLAGS}
LinkedListInt.o : LinkedListInt.cpp
	${CCC} -c LinkedListInt.cpp -o LinkedListInt.o ${CCFLAGS}
test.o : test.cpp
	${CCC} -c test.cpp -o test.o ${CCFLAGS}
testListInt: test.o NodeInt.o LinkedListInt.o Node.h Node.cpp LinkedList.h LinkedList.cpp
	${CCC} -o testListInt test.o NodeInt.o LinkedListInt.o ${LIBS} ${CCFLAGS}
clean:
	rm -f *.o core *~

