JFLAGS = -g -encoding ISO8859_1 JC = javac JVM= java # Driver usados hasta 2018 # DRIVER=MySQL_Driver/mysql-connector-java-5.1.34-bin.jar #Driver usado 2019, 2° sem. #DRIVER=MariaDB_Driver/mariadb-java-client-2.5.4.jar #Driver usado 2021, 2° sem. #DRIVER=MariaDB_Driver/mariadb-java-client-2.7.3.jar #Driver usado 2022, 2° sem. #DRIVER=MariaDB_Driver/mariadb-java-client-2.7.3.jar #Driver usado 2024, 2° sem. DRIVER=MariaDB_Driver/mariadb-java-client-3.5.0.jar # bajado de aquí: https://mariadb.com/downloads/connectors/ .SUFFIXES: .java .class .java.class: $(JC) $(JFLAGS) $*.java CLASSES = CreaLLenaTabla.java \ ConsultasClientesBanco.java \ Pacientes.java classes: $(CLASSES:.java=.class) CreaLLenaTabla: CreaLLenaTabla.class $(JVM) -cp $(DRIVER):. CreaLLenaTabla ConsultasClientesBanco: ConsultasClientesBanco.class $(JVM) -cp $(DRIVER):. ConsultasClientesBanco Pacientes: Pacientes.class $(JVM) -cp $(DRIVER):. Pacientes clean: rm -f *.class