Guest User

Untitled

a guest
Dec 29th, 2014
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. CC := g++
  2. RM := rm
  3. SUITE_CPP_FILES := $(wildcard test/*.cpp) $(wildcard test/inom/*.cpp)
  4. SUITE_OBJ_FILES := $(SUITE_CPP_FILES:.cpp=.o)
  5. LD_FLAGS := -std=c++11 -O2
  6. CC_FLAGS := -std=c++11 -O2
  7.  
  8. suite: test/main.o test/inom/util.o
  9. g++ -std=c++11 -O2 -o $@ $^
  10.  
  11. run:
  12. make suite
  13. ./suite
  14.  
  15. clean:
  16. rm suite
  17. rm -rf
  18.  
  19. obj/%.o: test/%.cpp
  20. g++ -std=c++11 -O2 -c -o $@ $<
Advertisement
Add Comment
Please, Sign In to add comment