diff options
author | bloodstalker <thabogre@gmail.com> | 2020-04-30 15:02:01 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2020-04-30 15:02:01 +0000 |
commit | a2ccebe27554d196fbcadf4fd230fb1b4b14090a (patch) | |
tree | ab77721e278cb6c903da0c1518279b9fe140fee6 /makefile | |
parent | work in progress (diff) | |
download | cgrep-a2ccebe27554d196fbcadf4fd230fb1b4b14090a.tar.gz cgrep-a2ccebe27554d196fbcadf4fd230fb1b4b14090a.zip |
working on the test script
Diffstat (limited to '')
-rw-r--r-- | makefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -18,7 +18,7 @@ endif CXX_EXTRA?= CTAGS_I_PATH?=./ #LD_FLAGS= -lstdc++fs -LD_FLAGS= +LD_FLAGS= -lboost_system -lboost_filesystem EXTRA_LD_FLAGS?= ADD_SANITIZERS_CC= -g -fsanitize=address -fno-omit-frame-pointer ADD_SANITIZERS_LD= -g -fsanitize=address @@ -84,7 +84,7 @@ LD_FLAGS+=$(EXTRA_LD_FLAGS) .PHONY:all clean help ASM SO TAGS -all: $(TARGET) +all: pch.hpp.gch $(TARGET) everything:$(TARGET) A ASM SO $(TARGET)-dbg TAGS $(TARGET)-cov @@ -98,15 +98,18 @@ depend:.depend -include ./.depend -%.o:%.cpp - $(CXX) $(CXX_FLAGS) -c $< -o $@ +%.o:%.cpp pch.hpp.gch + $(CXX) -include-pch pch.hpp.gch $(CXX_FLAGS) -c $< -o $@ %.odbg:%.cpp $(CXX) $(CXX_FLAGS) -g -c $< -o $@ -%.ocov:%.cpp +%.ocov:%.cpp pch.hpp.gch $(CXX) $(CXX_FLAGS) $(COV_CXX) -c $< -o $@ +pch.hpp.gch: pch.hpp + $(CXX) $(CXX_FLAGS) -c $< -o $@ + ./cfe-extra/cfe_extra.o:./cfe-extra/cfe_extra.cpp $(CXX) $(CXX_FLAGS) -c $< -o $@ |