Line | |
---|
1 | |
---|
2 | bindir = @bindir@ |
---|
3 | datadir = @datadir@ |
---|
4 | datarootdir = @datarootdir@ |
---|
5 | exec_prefix = @exec_prefix@ |
---|
6 | includedir = @includedir@ |
---|
7 | libdir = @libdir@ |
---|
8 | mandir = @mandir@ |
---|
9 | prefix = @prefix@ |
---|
10 | srcdir = @srcdir@ |
---|
11 | |
---|
12 | INSTALL = @INSTALL@ |
---|
13 | MKDIR_P = @MKDIR_P@ |
---|
14 | VPATH = @srcdir@ |
---|
15 | |
---|
16 | JAVAC = @JAVAC@ |
---|
17 | CLASSPATH = ../../../lang/java:$(libdir)/java |
---|
18 | |
---|
19 | destdir = $(prefix)/examples/app-fermi/java |
---|
20 | |
---|
21 | FILES = \ |
---|
22 | $(srcdir)/tool.xml \ |
---|
23 | $(srcdir)/Fermi.java \ |
---|
24 | Fermi.class |
---|
25 | |
---|
26 | all: Fermi.class |
---|
27 | |
---|
28 | Fermi.class: Fermi.java |
---|
29 | $(JAVAC) -cp $(CLASSPATH) -d . $(srcdir)/Fermi.java |
---|
30 | |
---|
31 | install: all |
---|
32 | $(MKDIR_P) -m 0755 $(destdir) |
---|
33 | for i in $(FILES) ; do \ |
---|
34 | $(INSTALL) -m 0444 $$i $(destdir) ; \ |
---|
35 | done |
---|
36 | |
---|
37 | clean: |
---|
38 | $(RM) Fermi.class |
---|
39 | |
---|
40 | distclean: clean |
---|
41 | $(RM) Makefile |
---|
42 | |
---|
Note: See
TracBrowser
for help on using the repository browser.