diff --git a/example/Makefile b/example/Makefile index 6653b88..2e54ecb 100644 --- a/example/Makefile +++ b/example/Makefile @@ -63,6 +63,8 @@ define run $(BUILD_SYSTEM) -C $(dir $(BUILD_FILE) ) -f $(notdir $(BUILD_FILE) ) $(1) endef +#We allow for the user to ask for 'relative' path +#But the IRPF90 build system use absolute path. $(EXE): $(ARCH) @printf "%b" "\033[0;32m Build $@...\033[m\n" @$(call run, $(addprefix $(CURDIR)/, $@)) && touch $@ diff --git a/src/templates/general.make b/src/templates/general.make index 1822c84..8e1ebb0 100644 --- a/src/templates/general.make +++ b/src/templates/general.make @@ -60,7 +60,7 @@ ARCH = $(addprefix $(CURDIR)/,IRPF90_temp/irpf90.a) all: $(EXE) define run - $(BUILD_SYSTEM) -C $(dir $(BUILD_FILE) ) -f $(notdir $(BUILD_FILE) ) $(1)", + $(BUILD_SYSTEM) -C $(dir $(BUILD_FILE) ) -f $(notdir $(BUILD_FILE) ) $(1) endef #We allow for the user to ask for 'relative' path