We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 997c849 commit 7738e9cCopy full SHA for 7738e9c
Makefile
@@ -0,0 +1,21 @@
1
+ROOT_EXE := $(shell which root.exe)
2
+ifeq ($(ROOT_EXE),)
3
+$(error Could not find root.exe)
4
+endif
5
+
6
+.PHONY: all
7
+all:
8
+ $(MAKE) write
9
+ $(MAKE) read
10
11
+# This assumes there is no whitespace in any of the paths...
12
+WRITE_C := $(sort $(shell find . -name write.C))
13
+READ_C := $(sort $(shell find . -name read.C))
14
15
+.PHONY: write
16
+write:
17
+ @$(foreach c,$(WRITE_C),$(ROOT_EXE) -q -l $(c) &&) true
18
19
+.PHONY: read
20
+read:
21
+ @$(foreach c,$(READ_C),$(ROOT_EXE) -q -l $(c) &&) true
0 commit comments