From 15a8692f5384c0b6247a51cddec230f00ad5bbfc Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Mon, 24 Jul 2017 10:46:03 +0200 Subject: Woops, mistook the model files. --- cfg-to-paths/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cfg-to-paths') 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)_" $@ -- cgit v1.2.3-70-g09d2