-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
43 lines (32 loc) · 1.04 KB
/
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
RBC_PORT = 4242
RBC_IP = 192.168.1.103
test-serveur:
@echo "Lancement du serveur"
cd rbc/ && RBC_PORT=$(RBC_PORT) make test
compile-client-1:
@echo "Compilation du client"
sshpass -p "raspberry" ssh [email protected] "cd evc/ && cmake . && make"
test-client-1:
@echo "Lancement du client"
sshpass -p "raspberry" ssh [email protected] "cd evc/ && ./EVC.exe $(RBC_IP) $(RBC_PORT)"
connect-client-1:
@echo "Connection au client"
sshpass -p "raspberry" ssh [email protected]
compile-client-2:
@echo "Compilation du client"
sshpass -p "raspberry" ssh [email protected] "cd evc/ && cmake . && make"
test-client-2:
@echo "Lancement du client"
sshpass -p "raspberry" ssh [email protected] "cd evc/ && ./EVC.exe $(RBC_IP) $(RBC_PORT)"
connect-client-2:
@echo "Connection au client"
sshpass -p "raspberry" ssh [email protected]
test-client-fake:
@echo "Lancement du client"
cd evc/ && make test-fake
test-client-fake-2:
@echo "Lancement du client"
cd evc/ && make test-fake-2
clean:
@echo "Cleaning..."
cd rbc/ && make clean && cd ../evc/ && make clean