Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
12ccc4545138ce43b1fc0071cf9c72b880496cdb
[jaceP2P.git] / Makefile
1 #
2 # Makefile for JaceP2P plateform
3 # Author: Sébastien Miquée <sebastien.miquee@univ-fcomte.fr>
4 #
5
6 SRC=src
7 PACKAGE=jaceP2P
8 BIN=bin
9 JAR=JaceP2P.jar
10 MAPPING=/home/miquee/lib/Mapping.jar
11 CLASSPATH=.:$(MAPPING)
12
13 all: compile jar
14
15 compile:clean
16         javac -d ./$(BIN) ./$(SRC)/$(PACKAGE)/*.java
17         rmic -classpath $(CLASSPATH):$(BIN) -d ./$(BIN) jaceP2P.JaceServer
18         rmic -classpath $(CLASSPATH):$(BIN) -d ./$(BIN) jaceP2P.JaceSuperNodeServer
19
20 rmi:compile
21         rmic -classpath $(CLASSPATH):$(BIN) -d ./$(BIN) jaceP2P.JaceServer
22         rmic -classpath $(CLASSPATH):$(BIN) -d ./$(BIN) jaceP2P.JaceSuperNodeServer
23
24 jar:    
25         jar cvfm ./$(JAR) Manifest -C ./$(BIN) $(PACKAGE)
26
27 clean:
28         rm -rf ./$(BIN)/* $(JAR)
29
30
31 #
32 ##
33 #
34