Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC := g++
- RM := rm
- SUITE_CPP_FILES := $(wildcard test/*.cpp) $(wildcard test/inom/*.cpp)
- SUITE_OBJ_FILES := $(SUITE_CPP_FILES:.cpp=.o)
- LD_FLAGS := -std=c++11 -O2
- CC_FLAGS := -std=c++11 -O2
- suite: test/main.o test/inom/util.o
- g++ -std=c++11 -O2 -o $@ $^
- run:
- make suite
- ./suite
- clean:
- rm suite
- rm -rf
- obj/%.o: test/%.cpp
- g++ -std=c++11 -O2 -c -o $@ $<
Advertisement
Add Comment
Please, Sign In to add comment