bindir = @bindir@ datadir = @datadir@ datarootdir = @datarootdir@ exec_prefix = @exec_prefix@ includedir = @includedir@ libdir = @libdir@ mandir = @mandir@ prefix = @prefix@ srcdir = @srcdir@ INSTALL = @INSTALL@ MKDIR_P = @MKDIR_P@ CC = @CC@ CFLAGS = @CFLAGS@ CXX = @CXX@ CXXFLAGS = @CFLAGS@ DEFINES = -g -Wall #INCLUDES = -I../../../src/core \ # -I../../../src/objects \ # -I$(srcdir)/../../../src/core \ # -I$(srcdir)/../../../src/objects \ # -I$(includedir) INCLUDES = -I../../../src/objects \ -I../../../src/core \ -I$(srcdir)/../../../src/objects \ -I$(srcdir)/../../../src/core \ -I$(includedir) LIBS = \ -L../../../src/core -lrappture \ -L../../../src/objects -lRpObjects\ -L$(libdir) -lexpat -lz -lm VPATH = $(srcdir) CXX_SWITCHES = $(CXXFLAGS) $(INCLUDES) $(DEFINES) CC_SWITCHES = $(CFLAGS) $(INCLUDES) $(DEFINES) FILES = \ $(srcdir)/library.cc \ $(srcdir)/library_0_0_in.xml \ Makefile destdir = $(prefix)/examples/objects/library PROGS = \ library all: $(PROGS) library: $(srcdir)/library.cc $(CXX) $(CXX_SWITCHES) -o $@ $< $(LIBS) install: $(MKDIR_P) -m 0755 $(destdir) for i in $(FILES) ; do \ $(INSTALL) -m 0444 $$i $(destdir) ; \ done for i in $(PROGS) ; do \ $(INSTALL) -m 0555 $$i $(destdir) ; \ done clean: $(RM) $(PROGS) distclean: clean $(RM) Makefile *~