diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-06-06 17:50:58 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-06-06 17:50:58 +0200 |
commit | 33fb378b7605d34e73d9187cfb36aa8535b96cd0 (patch) | |
tree | 590aec101ad8aa055b90ddfb6bdc3b08a6715dc5 /Makefile.in | |
parent | ecef2b6bf1e49a62acf4b9baf9a927835fa03e91 (diff) | |
download | tmwa-generate-code-out-of-tree.tar.gz tmwa-generate-code-out-of-tree.tar.bz2 tmwa-generate-code-out-of-tree.tar.xz tmwa-generate-code-out-of-tree.zip |
Generate code out of treegenerate-code-out-of-tree
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in index 56d9bce..db311df 100644 --- a/Makefile.in +++ b/Makefile.in @@ -478,10 +478,7 @@ clean: mostlyclean $l rm -rf bin lib distclean: clean gen-clean gen-clean: - $l rm -f stamp/generate*.stamp - $l rm -rf ${SRC_DIR}/src/proto2/ - $l rm -rf ${SRC_DIR}/src/debug-debug/ - $l rm -rf ${SRC_DIR}/src/*/*_conf.[ch]pp + make -f ${SRC_DIR}/generate.mk clean ifndef MAKE_RESTARTS obj/%.d: src/%.cpp | stamp/generated.stamp @@ -801,8 +798,8 @@ stamp/%.hpp.formatted: src/%.hpp tools/indenter apply-filter 'indenter -cpp' $< fgrep -q Copyright $< fgrep -q $(notdir $<) $< - if [[ $< == *fwd* ]]; then fgrep -q ../sanity.hpp $<; else fgrep -q '"fwd.hpp"' $<; fi - if [[ $< == *fwd* ]]; then ! fgrep -q '"fwd.hpp"' $<; else ! fgrep -q ../sanity.hpp $<; fi + if [[ $< == *fwd* ]]; then fgrep -q sanity.hpp $<; else fgrep -q '"fwd.hpp"' $<; fi + if [[ $< == *fwd* ]]; then ! fgrep -q '"fwd.hpp"' $<; else ! fgrep -q sanity.hpp $<; fi grep -q '^namespace tmwa$$' $< grep -q '^} // namespace tmwa$$' $< grep -q '^#pragma once$$' $< |