From 0060adf114baaeb8758e38ffea4d1dfd2c5962f9 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Thu, 30 Oct 2014 16:46:03 +1100 Subject: [PATCH] Make make sct faster - alternate ways of doing it --- site_ansto/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/site_ansto/Makefile b/site_ansto/Makefile index 51d68603..f7d812c9 100755 --- a/site_ansto/Makefile +++ b/site_ansto/Makefile @@ -169,8 +169,14 @@ config: xref: all python xref.py $(SUBLIBS) $(GHTTP_LIBS) -sct: +sct1: find . -name "*.sct" -exec python instrument/util/gen_sct.py {} \; +sct2: + python instrument/util/gen_sct.py `find . -name "*.sct"` +sct3: + find . -name "*.sct" | xargs python instrument/util/gen_sct.py + +sct: | sct2 #TODO Add targets for other instruments echidna: all