summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ast-to-instr/Makefile')
-rw-r--r--ast-to-instr/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/ast-to-instr/Makefile b/ast-to-instr/Makefile
index c8e9174..d5fc2d2 100644
--- a/ast-to-instr/Makefile
+++ b/ast-to-instr/Makefile
@@ -1,24 +1,16 @@
## Parameters ##################################################################
#### GHDL's xml AST output.
-ifndef AST_FILE
-AST_FILE =
-endif
+AST_FILE ?=
#### Where to output the models.
-ifndef MODEL_DIR
-MODEL_DIR =
-endif
+MODEL_DIR ?=
#### Binaries
###### JRE binary
-ifndef JAVA
-JAVA = java
-endif
+JAVA ?= java
###### JDK binary
-ifndef JAVAC
-JAVAC = javac
-endif
+JAVAC ?= javac
## Parameters Sanity Check #####################################################
ifeq ($(strip $(AST_FILE)),)