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/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 -lm |
---|
25 | |
---|
26 | CC_SWITCHES = $(CFLAGS) $(CDEBUGFLAGS) $(DEFINES) $(INCLUDES) |
---|
27 | |
---|
28 | FILES = \ |
---|
29 | $(srcdir)/tool.xml \ |
---|
30 | $(srcdir)/original.c \ |
---|
31 | $(srcdir)/fermi.c |
---|
32 | |
---|
33 | all: fermi |
---|
34 | |
---|
35 | fermi: fermi.c |
---|
36 | $(CC) $(CC_SWITCHES) $< -o $@ $(LIBS) |
---|
37 | |
---|
38 | install: fermi |
---|
39 | $(MKDIR_P) -m 0755 $(destdir) |
---|
40 | for i in $(FILES) ; do \ |
---|
41 | $(INSTALL) -m 0444 $$i $(destdir) ; \ |
---|
42 | done |
---|
43 | $(INSTALL) -m 0555 fermi $(destdir) |
---|
44 | |
---|
45 | clean: |
---|
46 | $(RM) fermi run*.xml |
---|
47 | |
---|
48 | distclean: clean |
---|
49 | $(RM) Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.