CXXARGS=-Wall -std=c++11 -fno-elide-constructors all: TestString TestArray TestList TestString: TestString.cpp libecci.a g++ $(CXXARGS) -o TestString TestString.cpp libecci.a TestArray: TestArray.cpp libecci.a g++ $(CXXARGS) -o TestArray TestArray.cpp libecci.a TestList: TestList.cpp libecci.a g++ $(CXXARGS) -o TestList TestList.cpp libecci.a libecci.a: String.h String.cpp Array.h List.h g++ -Wall -std=c++11 -c String.cpp -o String.o -fno-elide-constructors ar rcs libecci.a String.o clean: rm -rf *.o lib*.a doc/ TestString TestArray TestList doc: Doxyfile *.h doxygen Doxyfile ZIPFILES=Makefile *.h *.cpp *.pro #ZIPFILES+=Doxyfile zip: $(ZIPFILES) rm -f ecci.zip zip -9 ecci.zip $(ZIPFILES)