CXXFLAGS=-Wall -std=c++11 -fno-elide-constructors DEFINES=-DTESTING all: Test Test: Test.cpp libecci.a catch.hpp g++ $(CXXFLAGS) $(DEFINES) -o Test Test.cpp libecci.a libecci.a: String.h String.cpp gcc $(CXXFLAGS) $(DEFINES) -c String.cpp -o String.o ar rcs libecci.a String.o catch.hpp: wget --no-check-certificate https://raw.github.com/philsquared/Catch/master/single_include/catch.hpp clean: rm -rf *.o lib*.a Test doc/ doc: Doxyfile *.h doxygen Doxyfile ZIPFILES=Doxyfile Makefile Test.cpp Test.pro String.h String.cpp Mainpage.h zip: $(ZIPFILES) rm -f ecci.zip zip -9 ecci.zip $(ZIPFILES)