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 | destdir = $(prefix)/examples/app-fermi/wrapper/cee |
---|
13 | |
---|
14 | INSTALL = @INSTALL@ |
---|
15 | MKDIR_P = @MKDIR_P@ |
---|
16 | |
---|
17 | CC = @CC@ |
---|
18 | CFLAGS = @CFLAGS@ |
---|
19 | CDEBUGFLAGS = -g -Wall |
---|
20 | VPATH = $(srcdir) |
---|
21 | |
---|
22 | INCLUDES = -I$(srcdir)/../../../../src/core |
---|
23 | LIBS = -L../../../../src/core -lrappture \ |
---|
24 | -L$(libdir) -lexpat -lz |
---|
25 | |
---|
26 | CC_SWITCHES = $(CFLAGS) $(CDEBUGFLAGS) $(DEFINES) $(INCLUDES) |
---|
27 | |
---|
28 | FILES = \ |
---|
29 | Makefile \ |
---|
30 | $(srcdir)/fermi.m \ |
---|
31 | $(srcdir)/fermi.c \ |
---|
32 | $(srcdir)/tool.xml |
---|
33 | |
---|
34 | all: fermi |
---|
35 | |
---|
36 | fermi: fermi.c |
---|
37 | $(CC) $(CC_SWITCHES) $< -o $@ $(LIBS) |
---|
38 | |
---|
39 | install: fermi |
---|
40 | $(MKDIR_P) -m 0755 $(destdir) |
---|
41 | for i in $(FILES) ; do \ |
---|
42 | $(INSTALL) -m 0444 $$i $(destdir) ; \ |
---|
43 | done |
---|
44 | $(INSTALL) -m 0555 fermi $(destdir) |
---|
45 | |
---|
46 | clean: |
---|
47 | $(RM) fermi run*.xml |
---|
48 | |
---|
49 | distclean: clean |
---|
50 | $(RM) Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.