source: trunk/examples/objects/axis/Makefile.in @ 1926

Last change on this file since 1926 was 1528, checked in by dkearney, 12 years ago

updating the objects code and adding some more examples describing how i want developers to use the objects. some of the objects don't work yet, like the tree, anything with an example should work

File size: 1.3 KB
Line 
1
2bindir          = @bindir@
3datadir         = @datadir@
4datarootdir     = @datarootdir@
5exec_prefix     = @exec_prefix@
6includedir      = @includedir@
7libdir          = @libdir@
8mandir          = @mandir@
9prefix          = @prefix@
10srcdir          = @srcdir@
11
12INSTALL         = @INSTALL@
13MKDIR_P         = @MKDIR_P@
14
15CC              = @CC@
16CFLAGS          = @CFLAGS@
17CXX             = @CXX@
18CXXFLAGS        = @CFLAGS@
19DEFINES         = -g -Wall
20INCLUDES        = -I../../../src/core \
21                  -I../../../src/objects \
22                  -I$(srcdir)/../../../src/core \
23                  -I$(srcdir)/../../../src/objects \
24                  -I$(includedir)
25LIBS    = \
26                -L../../../src/core -lrappture \
27                -L../../../src/objects -lRpObjects\
28                -L$(libdir) -lexpat -lz
29VPATH   = $(srcdir)
30
31CXX_SWITCHES    = $(CXXFLAGS) $(INCLUDES) $(DEFINES)
32CC_SWITCHES     = $(CFLAGS) $(INCLUDES) $(DEFINES)
33
34FILES   = \
35                $(srcdir)/axis.cc \
36                Makefile
37
38destdir = $(prefix)/examples/objects/axis
39
40
41PROGS   = \
42                axis
43
44all: $(PROGS)
45
46axis: $(srcdir)/axis.cc
47        $(CXX) $(CXX_SWITCHES) -o $@ $< $(LIBS)
48
49install:
50        $(MKDIR_P) $(destdir)
51        for i in $(FILES) ; do \
52          $(INSTALL) -m 444  $$i $(destdir) ; \
53        done
54        for i in $(PROGS) ; do \
55          $(INSTALL) -m 555 $$i $(destdir) ; \
56        done
57
58clean:
59        $(RM) $(PROGS)
60
61distclean: clean
62        $(RM) Makefile *~
Note: See TracBrowser for help on using the repository browser.