Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Correction and modification of save mechanisms.
[hpcvm.git] / Makefile
1 #
2 # Makefile for HpcVm plateform
3 # Author: Sébastien Miquée <sebastien.miquee@univ-fcomte.fr>
4 #
5
6 SRC=src
7 PACKAGE=and/hpcvm
8 BIN=bin
9 LIB=${HOME}/lib
10 JAR=HpcVm.jar
11
12 all: compile jar copy
13
14 compile:clean
15         javac -d ./$(BIN) ./$(SRC)/$(PACKAGE)/*.java
16         javac -d ./$(BIN) ./$(SRC)/*.java
17         rmic -classpath $(BIN) -d ./$(BIN) and.hpcvm.Server
18         rmic -classpath $(BIN) -d ./$(BIN) and.hpcvm.Client
19
20 rmi:compile
21         rmic -classpath $(BIN) -d ./$(BIN) and.hpcvm.Server
22         rmic -classpath $(BIN) -d ./$(BIN) and.hpcvm.Client
23
24 jar:    
25         jar cvfm ./$(JAR) Manifest -C ./$(BIN) $(PACKAGE)
26
27 copy:
28         cp $(JAR) $(LIB)
29
30 clean:
31         rm -rf ./$(BIN)/* $(JAR)
32
33
34 #
35 ##
36 #
37