Project

General

Profile

Statistics
| Branch: | Revision:

cgm / cgm / Makefile @ 6b4cfdc6

History | View | Annotate | Download (292 Bytes)

1
BUILDTOOL=mvn
2
JAR=cgm-1.0-SNAPSHOT.jar
3
JAVA=java
4
TARGET_DIR=target
5
DEBUG_FLAG=detailedDebugMode=true
6

    
7

    
8
.PHONY = clean build run debug
9

    
10
build:
11
	$(BUILDTOOL) package
12

    
13
clean:
14
	$(BUILDTOOL) clean
15

    
16
run:
17
	$(JAVA) -jar $(TARGET_DIR)/$(JAR)
18

    
19
debug:
20
	$(JAVA) -jar $(TARGET_DIR)/$(JAR) -D${DEBUG_FLAG}