# example Makefile for BaBar packages # # uses SoftRelTools/standard.mk # # This is an example of how package 'Calor' might be setup. # 'bar' is also used as a sample file name. # # This example would be used in a source directory where the only action # is to build an archive file. # ############################################################# # file lists (standard names, local contents) # include file products INC = # library product LIB = libCalor.a # library contents # Note: source files with main() definitions do not go # into the library--that is why we skip Calor_main.cc here. skip_files := ClumpCalculator.cc LIBCCFILES = $(filter-out $(skip_files), $(wildcard *.cc)) # *.F files will have the c preprocessor run on them, *.f files won't LIBFFILES = $(wildcard *.F) LIBCFILES = $(wildcard *.c) override LINK_Calor += Calor override LINK_CalorGeometry += Calor # subdirectories SUBDIRS = vpath %.hh .:../Calor vpath %.h .:../Calor ifdef USE_ROOT CINT_INCLUDES = $(CURPKG).hh CINT_OBJECTS = $(workdir_o)$(CURPKG)_cint.o LIBOFILES += $(CINT_OBJECTS) endif ############################################################ include SoftRelTools/standard.mk include SoftRelTools/arch_spec_root_minedm.mk include SoftRelTools/refresh.mk