mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-12-22 04:13:33 +01:00
Fancy general Makefile
This commit is contained in:
parent
926c72a88b
commit
5da213f29c
@ -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 $@
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user