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

Last change on this file since 1944 was 1944, checked in by gah, 14 years ago

add unit cell to molvisviewer

File size: 1003 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@
15MKDIR_P         = @MKDIR_P@
16
17CC              = @CC@
18CFLAGS          = @CFLAGS@
19CDEBUGFLAGS     = -g -Wall
20VPATH           = $(srcdir)
21
22INCLUDES        = -I$(srcdir)/../../../../src/core
23LIBS            = -L../../../../src/core -lrappture \
24                  -L$(libdir) -lexpat -lz
25
26CC_SWITCHES     = $(CFLAGS) $(CDEBUGFLAGS) $(DEFINES) $(INCLUDES)
27
28FILES           = \
29                Makefile \
30                $(srcdir)/fermi.m \
31                $(srcdir)/fermi.c \
32                $(srcdir)/tool.xml
33
34all: fermi
35
36fermi: fermi.c
37        $(CC) $(CC_SWITCHES) $< -o $@ $(LIBS)
38
39install: 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
46clean:
47        $(RM) fermi run*.xml
48
49distclean: clean
50        $(RM) Makefile
Note: See TracBrowser for help on using the repository browser.