-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
75 lines (65 loc) · 2.17 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
JFLAGS = -g
JC = javac src/domain/*.java src/persistence/*.java src/presentation/*.java src/utils/*.java -cp test/lib/junit-4.12.jar
JVM= java
.SUFFIXES: .java .class
.java.class:
$(JC) $(JFLAGS) $*.java
CLASSES = \
src/MasterMind.java \
src/Main.java \
src/domain/Casilla.java \
src/domain/CodeBreaker.java \
src/domain/CodeMaker.java \
src/domain/CodePeg.java \
src/domain/Game.java \
src/domain/Jugador.java \
src/domain/KeyPeg.java \
src/domain/Ranking.java \
src/domain/CtrlDominio.java \
src/domain/CtrlDominioJugador.java \
src/domain/CtrlDominioPartida.java \
src/domain/CtrlDominioRanking.java \
src/utils/Funciones.java \
src/utils/Pair.java \
src/utils/KeyListenerPers.java \
src/utils/WindowListener.java \
src/persistence/GamePersistencia.java \
src/persistence/JugadorPersistencia.java \
src/persistence/CtrlPersistencia.java \
src/persistence/CtrlPersistenciaGame.java \
src/persistence/CtrlPersistenciaJugador.java \
src/persistence/CtrlPersistenciaRanking.java \
src/presentation/CtrlPresentacion.java \
src/presentation/CtrlPresentacionGame.java \
src/presentation/CtrlPresentacionLoginRegister.java \
src/presentation/CtrlPresentacionModificarDatos.java \
src/presentation/CtrlPresentacionRanking.java \
src/presentation/VistaCargarPart.java \
src/presentation/VistaCodigoInicial.java \
src/presentation/VistaInfo.java \
src/presentation/VistaInfoCodebreaker.java \
src/presentation/VistaInfoCodemaker.java \
src/presentation/VistaLogin.java \
src/presentation/VistaMenuPartida.java \
src/presentation/VistaModificar.java \
src/presentation/VistaNuevaPart.java \
src/presentation/VistaPresentacion.java \
src/presentation/VistaRanking.java \
src/presentation/VistaRegister.java \
src/presentation/VistaTableroCodeB.java \
src/presentation/VistaTableroCodeM.java
MAIN = Main
MAINOLD = MasterMind
CLASSPATH = build
default: classes
classes: $(CLASSES:.java=.class)
run: src/Main.java
$(JVM) -cp ./src/:.src/presentation/:.src/resources/ $(MAIN)
run_old: src/MasterMind.class
$(JVM) -cp ./src/ $(MAINOLD)
clean:
$(RM) src/domain/*.class
$(RM) src/persistence/*.class
$(RM) src/utils/*.class
$(RM) src/presentation/*.class
$(RM) src/*.class