summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-07-24 10:46:03 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-07-24 10:46:03 +0200
commit15a8692f5384c0b6247a51cddec230f00ad5bbfc (patch)
tree4c461f82c37fbe3b51dbc3164f91007dc44abe03 /cfg-to-paths
parentc734cd67ee4ebe5c235c7785f6b193952bf3bc17 (diff)
Woops, mistook the model files.
Diffstat (limited to 'cfg-to-paths')
-rw-r--r--cfg-to-paths/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/cfg-to-paths/Makefile b/cfg-to-paths/Makefile
index 46ba3de..3e9c629 100644
--- a/cfg-to-paths/Makefile
+++ b/cfg-to-paths/Makefile
@@ -1,6 +1,6 @@
## Target(s) Configuration #####################################################
MODEL_FILES = $(wildcard ../ast-to-instr/cfg_*.mod)
-OUTPUT_FILES = $(patsubst ../ast-to-inst/%.mod,%.cfg.mod,$(MODEL_FILES))
+OUTPUT_FILES = $(patsubst ../ast-to-instr/%.mod,%.cfg.mod,$(MODEL_FILES))
## Executables #################################################################
JAVAC = javac
@@ -29,5 +29,5 @@ clean:
$(JAVAC) -cp $(CLASSPATH) $<
%.cfg.mod: ../ast-to-instr/%.mod $(CLASSES)
- $(eval ROOT_NODE := $(shell head -n 2 $< | tail -n 1 | grep "[0-9]\+" -o))
+ $(eval ROOT_NODE := $(shell head -n 1 $< | grep "[0-9]\+" -o))
$(JAVA) -cp $(CLASSPATH) Main $< $(ROOT_NODE) "p$(ROOT_NODE)_" $@