-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (19 loc) · 776 Bytes
/
Makefile
File metadata and controls
29 lines (19 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Include paths
include IMPORT
JFLAGS=-g:none
JC=javac
SFLAGS=-deprecation
SC=fsc
SCALA_FILES=$(SRC)/Satisfaction.scala $(SRC)/Parser.scala
JAVA_FILES=$(SRC)/*.java $(SRC)/learn/*.java $(SRC)/modelchecking/*.java $(SRC)/smcmdp/*.java $(SRC)/smcmdp/policy/*.java $(SRC)/smcmdp/policy/update/*.java $(SRC)/smcmdp/reward/*.java $(SRC)/smcmdp/reward/update/*.java
all: bindir parser
$(JC) $(JFLAGS) -d $(BIN) \
-cp $(BIN):$(PRISM_PATH)/classes/:$(SSJ_PATH)/ssj.jar:$(SCALA_PATH)/lib/scala-library.jar:$(OPTIMIZATION_PATH)/optimization.jar:$(COLT_PATH)/colt.jar \
$(JAVA_FILES)
parser: bindir
$(SC) $(SFLAGS) -d $(BIN) -classpath $(PRISM_PATH)/classes/ $(SCALA_FILES) $(JAVA_FILES)
bindir:
mkdir -p $(BIN)
.PHONY : clean parser bindir
clean:
rm -rf $(BIN)