-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
43 lines (33 loc) · 998 Bytes
/
Makefile
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
39
40
41
42
43
IP=230.0.0.0
PORT_NUMBER=5000
JFLAGS = -g
JC = javac
J = java
JD = javadoc
DOC = documentation
build:
cd ./src ; find . -name \*.java | xargs $(JC) $(JFLAGS) -d ../bin
runSender:
$(J) -cp bin test.com.github.dosarudaniel.gsoc.TestSender $(IP) $(PORT_NUMBER)
runBurstSender:
$(J) -cp bin test.com.github.dosarudaniel.gsoc.TestBurstSender $(IP) $(PORT_NUMBER)
runReceiver:
$(J) -cp bin test.com.github.dosarudaniel.gsoc.TestReceiver $(IP) $(PORT_NUMBER)
runBasicTests:build
$(J) -cp bin test.com.github.dosarudaniel.gsoc.BasicTests
runMulticastServer:
$(J) -cp bin test.com.github.dosarudaniel.gsoc.TestMulticastServer $(IP) $(PORT_NUMBER)
doc:
$(JD) src/test/com/github/dosarudaniel/gsoc/* \
src/myjava/com/github/dosarudaniel/gsoc/* -d $(DOC)
clean:
rm -rf $(DOC)
rm -rf bin/test
rm -rf bin/myjava
rm -rf bin/ch
rm -rf build/classes/ch/*
rm -rf build/classes/test/*
rm -rf build/classes/myjava/*
rm -rf package/*.jar
rm -rf package/apache-tomcat*
rm -rf package/apmon*