## gmake file, requires a posix like shell include ${ORACLE_HOME}/javavm/demo/unix.mk include ${ORACLE_HOME}/javavm/demo/java.mk # targets all: compile deploy sql run # classpath MAKE_CLASSPATH = $(JDK12_CLASSPATH) CLIENT_CLASS = \ Point4.class compile: client.jar client.jar: $(CLIENT_CLASS) jar cfM $@ $? deploy: jsprocndb jsprocndb: client.jar loadjava -f -verbose -oracleresolver -resolve -oci8 -u $(USER)/$(PASS) $? touch jsprocndb sql: sqlplus /nolog @create.sql $(USER) $(PASS) run: sqlplus /nolog @run.sql $(USER) $(PASS) clean: $(RMRF) *.class */*.class client.jar *ndb *.~?~ */*.~?~