From 7af4c5b5c561362cb1135ab504095ae667a9270a Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 27 Jun 2014 19:16:45 -0700 Subject: This is more reliable --- Makefile.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.in') 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) -- cgit v1.2.3-60-g2f50