-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
80 lines (58 loc) · 1.8 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
IP-VM2 := 192.168.1.10
IP-VM3 := 192.168.1.11
IP-VM4 := 192.168.1.12
all:
@echo 'Compilando Commons Library...'
-cd so-commons-library/ && sudo $(MAKE) install
@echo 'Fin Commons'
@echo 'Compilando ansisop-panel...'
-cd ansisop-panel/Debug && sudo $(MAKE)
@echo 'Fin ansisop-panel'
@echo 'Compilando MiniGral_lib...'
-cd MiniGral_lib/Debug && sudo $(MAKE)
@echo 'Fin MiniGral_lib'
@echo 'Compilando MSP...'
-cd MSP/Debug && sudo $(MAKE)
@echo 'Fin MSP'
@echo 'Compilando CPU...'
-cd CPU/Debug && sudo $(MAKE)
@echo 'Fin CPU'
@echo 'Compilando Kernel...'
-cd Kernel/Debug && sudo $(MAKE)
@echo 'Fin Kernel'
@echo 'Compilado Consola...'
-cd Consola/Debug && sudo $(MAKE)
@echo 'Fin Consola'
@echo 'Make OK'
clean:
@echo 'Compilando Commons Library...'
-cd so-commons-library/ && sudo $(MAKE) clean
@echo 'Fin Commons'
@echo 'Compilando ansisop-panel...'
-cd ansisop-panel/Debug && sudo $(MAKE) clean
@echo 'Fin ansisop-panel'
@echo 'Compilando MiniGral_lib...'
-cd MiniGral_lib/Debug && sudo $(MAKE) clean
@echo 'Fin MiniGral_lib'
@echo 'Compilando MSP...'
-cd MSP/Debug && sudo $(MAKE) clean
@echo 'Fin MSP'
@echo 'Compilando CPU...'
-cd CPU/Debug && sudo $(MAKE) clean
@echo 'Fin CPU'
@echo 'Compilando Kernel...'
-cd Kernel/Debug && sudo $(MAKE) clean
@echo 'Fin Kernel'
@echo 'Compilado Consola...'
-cd Consola/Debug && sudo $(MAKE) clean
@echo 'Fin Consola'
@echo 'Clean OK'
#En caso de no tener internet
#Copia a las maquinas de la red las commons y el tp (Setear ips antes)
scp-copiar-red:
-scp -rpC ./tp-2014-2c-los-metatecla utnso@$(IP-VM2):/home/utnso/
-scp -rpC ./tp-2014-2c-los-metatecla utnso@$(IP-VM3):/home/utnso/
-scp -rpC ./tp-2014-2c-los-metatecla utnso@$(IP-VM4):/home/utnso/
#Setear entorno con las librerias
setear-entorno:
./set_environment.sh