bindir = @bindir@ datadir = @datadir@ datarootdir = @datarootdir@ exec_prefix = @exec_prefix@ includedir = @includedir@ libdir = @libdir@ mandir = @mandir@ prefix = @prefix@ srcdir = @srcdir@ destdir = $(prefix)/examples/app-fermi/cee INSTALL = @INSTALL@ MKDIR_P = @MKDIR_P@ CC = @CC@ CFLAGS = @CFLAGS@ CDEBUGFLAGS = -g -Wall VPATH = $(srcdir) INCLUDES = -I$(srcdir)/../../../src/core LIBS = -L../../../src/core -lrappture \ -L$(libdir) -lexpat -lz -lm CC_SWITCHES = $(CFLAGS) $(CDEBUGFLAGS) $(DEFINES) $(INCLUDES) FILES = \ $(srcdir)/tool.xml \ $(srcdir)/original.c \ $(srcdir)/fermi.c all: fermi fermi: fermi.c $(CC) $(CC_SWITCHES) $< -o $@ $(LIBS) install: fermi $(MKDIR_P) -m 0755 $(destdir) for i in $(FILES) ; do \ $(INSTALL) -m 0444 $$i $(destdir) ; \ done $(INSTALL) -m 0555 fermi $(destdir) clean: $(RM) fermi run*.xml distclean: clean $(RM) Makefile