header only\!

This commit is contained in:
gabime
2014-02-20 21:39:58 +02:00
parent 8176f82de2
commit 3feba27f8b
12 changed files with 90 additions and 152 deletions

23
example/makefile Normal file
View File

@@ -0,0 +1,23 @@
CXX = g++
CXXFLAGS = -march=native -Wall -Wextra -Wshadow -pedantic -std=c++11 -pthread -I../include
CXX_RELEASE_FLAGS = -O3 -flto
CXX_DEBUG_FLAGS= -g
OUTBIN = testme
all: test.cpp
$(CXX) test.cpp -o $(OUTBIN) $(CXXFLAGS) $(CXX_RELEASE_FLAGS)
debug: test.cpp
$(CXX) test.cpp -o $(OUTBIN)-debug $(CXXFLAGS) $(CXX_DEBUG_FLAFS)
clean:
rm -f *.text $(OUTBIN) $(OUTBIN)-debug
rebuild: clean all
rebuild-debug: clean debug