-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (26 loc) · 757 Bytes
/
Makefile
File metadata and controls
38 lines (26 loc) · 757 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
30
31
32
33
34
35
36
37
38
TOP_DIR = ../..
include $(TOP_DIR)/tools/Makefile.common
DEPLOY_RUNTIME ?= /kb/runtime
TARGET ?= /kb/deployment
WRAP_JAVA_TOOL = wrap_java
WRAP_JAVA_SCRIPT = bash $(TOOLS_DIR)/$(WRAP_JAVA_TOOL).sh
# identify the output jar names here
JARS = kmers.reps dl4j.eval bins.generate kmers.hammer kmers.reps genome.changes
BIN_DIR = $(KB_TOP)/bin
BIN_JAVA = $(foreach mod,$(JARS),$(BIN_DIR)/$(mod))
JAR_JAVA = $(foreach mod,$(JARS),$(SEED_JARS)/$(mod).jar)
all: bin
bin: $(BIN_JAVA) build
test:
mvn test
show:
echo jars $(JAR_JAVA)
echo bins $(BIN_JAVA)
echo jarDir $(SEED_JARS)
clean:
mvn clean
$(BIN_DIR)/%: $(SEED_JARS)/%.jar
$(WRAP_JAVA_SCRIPT) $* $@
build:
mvn package -Dmaven.test.skip=true
include $(TOP_DIR)/tools/Makefile.common.rules