Line | |
---|
1 | #name/location of java compiler
|
---|
2 | JAVAC=javac
|
---|
3 |
|
---|
4 | #javac options
|
---|
5 | #JAVACOPTIONS= -g:none -O
|
---|
6 | JAVACOPTIONS= -deprecation -g:lines
|
---|
7 |
|
---|
8 | #complete compilation
|
---|
9 | JAVACOMPILE=$(JAVAC) $(JAVACOPTIONS)
|
---|
10 |
|
---|
11 | #make a .class file from a .java file
|
---|
12 | %.class: %.java
|
---|
13 | $(JAVAC) $(JAVACOPTIONS) $<
|
---|
14 |
|
---|
15 | CLASSFILES=NzdlConstants.class \
|
---|
16 | NzdlCorbaFactory.class \
|
---|
17 | NzdlHosts.class \
|
---|
18 | NzdlServiceFactory.class
|
---|
19 |
|
---|
20 | all: $(CLASSFILES)
|
---|
21 |
|
---|
22 | clean:
|
---|
23 | rm -f *.class
|
---|
24 |
|
---|
25 |
|
---|
26 |
|
---|
27 |
|
---|
28 |
|
---|
29 |
|
---|
30 |
|
---|
31 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.