summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-06-27 19:16:45 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-06-27 19:33:42 -0700
commit7af4c5b5c561362cb1135ab504095ae667a9270a (patch)
tree49ffd3008d7634ba36f3951493a68e928407ce89 /Makefile.in
parent8d7f1dadeeb1dc1609b72de5a4ee3a5247b0e9e6 (diff)
downloadtmwa-7af4c5b5c561362cb1135ab504095ae667a9270a.tar.gz
tmwa-7af4c5b5c561362cb1135ab504095ae667a9270a.tar.bz2
tmwa-7af4c5b5c561362cb1135ab504095ae667a9270a.tar.xz
tmwa-7af4c5b5c561362cb1135ab504095ae667a9270a.zip
This is more reliable
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index a30f5d7..320fca8 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -303,6 +303,8 @@ o: ${OBJECTS}
clean-deps:
-$c find obj -name '*.d' -delete
+clean-format:
+ -$c find obj -name '*.formatted' -delete
clean-obj:
-$c find obj -name '*.o' -delete
clean-conf:
@@ -473,6 +475,7 @@ obj/%.hpp.formatted: src/%.hpp tools/indenter
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$$' $<
touch $@
obj/%.tcc.formatted: src/%.tcc tools/indenter
$(MKDIR_FIRST)