summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-12-24 01:46:44 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-12-28 12:33:59 -0800
commit4c053c131ee13400bf1057f37dae3d0b7750e676 (patch)
tree53ef9fd46c7672f53b4ca3dd2235db894a636d98
parenta9271d878fd71b017a99cdaf63ba31763d981e76 (diff)
downloadtmwa-4c053c131ee13400bf1057f37dae3d0b7750e676.tar.gz
tmwa-4c053c131ee13400bf1057f37dae3d0b7750e676.tar.bz2
tmwa-4c053c131ee13400bf1057f37dae3d0b7750e676.tar.xz
tmwa-4c053c131ee13400bf1057f37dae3d0b7750e676.zip
sigh, fix again
-rw-r--r--real.make11
1 files changed, 6 insertions, 5 deletions
diff --git a/real.make b/real.make
index d99a823..dd22b2d 100644
--- a/real.make
+++ b/real.make
@@ -218,6 +218,7 @@ vpath %.lpp ${SRC_DIR}
vpath %.cpp ${SRC_DIR}
vpath %.hpp ${SRC_DIR}
vpath %.tcc ${SRC_DIR}
+vpath tools/% ${SRC_DIR}
.DELETE_ON_ERROR:
.DEFAULT_GOAL := all
@@ -396,22 +397,22 @@ format-lpp: $(patsubst src/%,obj/%.formatted,${LEXERS})
format-ypp: $(patsubst src/%,obj/%.formatted,${PARSERS})
obj/%.cpp.formatted: src/%.cpp tools/indenter
$(MKDIR_FIRST)
- cd ${SRC_DIR} && apply-filter 'indenter -cpp' $<
+ apply-filter 'indenter -cpp' $<
touch $@
obj/%.hpp.formatted: src/%.hpp tools/indenter
$(MKDIR_FIRST)
- cd ${SRC_DIR} && apply-filter 'indenter -cpp' $<
+ apply-filter 'indenter -cpp' $<
touch $@
obj/%.tcc.formatted: src/%.tcc tools/indenter
$(MKDIR_FIRST)
- cd ${SRC_DIR} && apply-filter 'indenter -cpp' $<
+ apply-filter 'indenter -cpp' $<
touch $@
obj/%.lpp.formatted: src/%.lpp tools/indenter
$(MKDIR_FIRST)
- cd ${SRC_DIR} && apply-filter 'indenter -lpp' $<
+ apply-filter 'indenter -lpp' $<
touch $@
obj/%.ypp.formatted: src/%.ypp tools/indenter
$(MKDIR_FIRST)
- cd ${SRC_DIR} && apply-filter 'indenter -ypp' $<
+ apply-filter 'indenter -ypp' $<
touch $@
.PHONY: format format-cpp format-hpp format-lpp format-ypp