This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
58 lines (40 loc) · 1.67 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
# $Id: Makefile.in 12682 2008-01-24 15:53:55Z chris $
JH =
ifneq (${JAVA_HOME},)
JH = ${JAVA_HOME}/bin/
endif
JAVAC = ${JH}javac
JAR = ${JH}jar
JAVA = ${JH}java
all: MCVE.jar tests/monetratest.class tests/test_stdapi.class tests/test_oldapi.class tests/test_guidemo.class
test: monetratest stdapitest oldapitest guidemotest
com/mainstreetsoftworks/Base64.class: Base64.java
${JAVAC} Base64.java -classpath . -d .
com/mainstreetsoftworks/MONETRA.class: MONETRA.java com/mainstreetsoftworks/Base64.class
${JAVAC} MONETRA.java -classpath . -d .
MONETRA.jar: com/mainstreetsoftworks/MONETRA.class com/mainstreetsoftworks/Base64.class
${JAR} cf MONETRA.jar com
com/mainstreetsoftworks/MCVE.class: MONETRA.jar
${JAVAC} MCVE.java -classpath . -d .
MCVE.jar: com/mainstreetsoftworks/MCVE.class
${JAR} cf MCVE.jar com
tests/monetratest.class: MONETRA.jar tests/monetratest.java
${JAVAC} -classpath MONETRA.jar tests/monetratest.java
tests/test_stdapi.class: MONETRA.jar tests/test_stdapi.java
${JAVAC} -classpath MONETRA.jar tests/test_stdapi.java
tests/test_oldapi.class: MCVE.jar tests/test_oldapi.java
${JAVAC} -classpath MCVE.jar tests/test_oldapi.java
tests/test_guidemo.class: MCVE.jar tests/test_guidemo.java
${JAVAC} -classpath MCVE.jar tests/test_guidemo.java
monetratest: tests/monetratest.class
${JAVA} -cp "./MONETRA.jar:./tests" monetratest
stdapitest: tests/test_stdapi.class
${JAVA} -cp "./MONETRA.jar:./tests" test_stdapi
oldapitest: tests/test_oldapi.class
${JAVA} -cp "./MCVE.jar:./tests" test_oldapi
guidemotest: tests/test_guidemo.class
${JAVA} -cp "./MCVE.jar:./tests" test_guidemo
clean:
rm -f *.class *.jar tests/*.class
rm -rf com
install: