source: trunk/examples/app-fermi/wrapper/cee/Makefile.in @ 1040

Last change on this file since 1040 was 1040, checked in by gah, 15 years ago

moved b64 library to rappture core

File size: 962 bytes
Line 
1
2bindir          = @bindir@
3datadir         = @datadir@
4datarootdir     = @datarootdir@
5exec_prefix     = @exec_prefix@
6includedir      = @includedir@
7libdir          = @libdir@
8mandir          = @mandir@
9prefix          = @prefix@
10srcdir          = @srcdir@
11
12destdir         = $(prefix)/examples/app-fermi/wrapper/cee
13
14INSTALL         = @INSTALL@
15
16CC              = @CC@
17CFLAGS          = @CFLAGS@
18CDEBUGFLAGS     = -g -Wall
19VPATH           = $(srcdir)
20
21INCLUDES        = -I$(srcdir)/../../../../src/core
22LIBS            = -L../../../../src/core -lrappture \
23                  -L$(libdir) -lexpat -lz
24
25CC_SWITCHES     = $(CFLAGS) $(CDEBUGFLAGS) $(DEFINES) $(INCLUDES)
26
27FILES           = \
28                $(srcdir)/fermi.m \
29                $(srcdir)/fermi.c \
30                $(srcdir)/tool.xml
31
32all: fermi
33
34fermi: fermi.c
35        $(CC) $(CC_SWITCHES) $< -o $@ $(LIBS)
36
37install: fermi
38        $(INSTALL) -d $(destdir)
39        for i in $(FILES) ; do \
40          $(INSTALL) -m 444 $$i $(destdir) ; \
41        done
42        $(INSTALL) -m 555 fermi $(destdir)
43
44clean:
45        $(RM) fermi run*.xml
46
47distclean: clean
48        $(RM) Makefile
Note: See TracBrowser for help on using the repository browser.