diff options
author | bloodstalker <thabogre@gmail.com> | 2020-04-30 19:59:28 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2020-04-30 19:59:28 +0000 |
commit | 0f0799aec14477d27a0cd145b7c5b0e283591b6f (patch) | |
tree | 87b276d6d22df27444feac2ad33bf6c3c03e41e9 /makefile | |
parent | removed the boost dependency again (diff) | |
download | cgrep-0f0799aec14477d27a0cd145b7c5b0e283591b6f.tar.gz cgrep-0f0799aec14477d27a0cd145b7c5b0e283591b6f.zip |
added a note regarding what to do when you get the `stddef.h not found`.
testscript is still WIP.
Diffstat (limited to '')
-rw-r--r-- | makefile | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -11,7 +11,7 @@ endif CXX=clang++ CXX?=clang++ ifdef OS - CXX_FLAGS= + CXX_FLAGS=-MM else CXX_FLAGS=-fpic endif @@ -84,7 +84,7 @@ LD_FLAGS+=$(EXTRA_LD_FLAGS) .PHONY:all clean help ASM SO TAGS -all: pch.hpp.gch $(TARGET) +all: $(TARGET) everything:$(TARGET) A ASM SO $(TARGET)-dbg TAGS $(TARGET)-cov @@ -98,18 +98,15 @@ depend:.depend -include ./.depend -%.o:%.cpp pch.hpp.gch - $(CXX) -include-pch pch.hpp.gch $(CXX_FLAGS) -c $< -o $@ +%.o:%.cpp + $(CXX) $(CXX_FLAGS) -c $< -o $@ %.odbg:%.cpp $(CXX) $(CXX_FLAGS) -g -c $< -o $@ -%.ocov:%.cpp pch.hpp.gch +%.ocov:%.cpp $(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 $@ |