aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2020-04-30 19:59:28 +0000
committerbloodstalker <thabogre@gmail.com>2020-04-30 19:59:28 +0000
commit0f0799aec14477d27a0cd145b7c5b0e283591b6f (patch)
tree87b276d6d22df27444feac2ad33bf6c3c03e41e9 /makefile
parentremoved the boost dependency again (diff)
downloadcgrep-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--makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/makefile b/makefile
index cff732a..1bbff7e 100644
--- a/makefile
+++ b/makefile
@@ -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 $@