#Options section =============================================================== SYSTEM = $(shell grep configsystem ../BuildOpts/`hostname`.config | cut -d "=" -f 2) COMPILER = $(shell grep configcompiler ../BuildOpts/`hostname`.config | cut -d "=" -f 2) CXXFLAGS = $(shell grep configcxxflags ../BuildOpts/`hostname`.config | cut -d "=" -f 2) ORACLEH = $(shell grep configoracleh ../BuildOpts/`hostname`.config | cut -d "=" -f 2) ORACLEL = $(shell grep configoraclel ../BuildOpts/`hostname`.config | cut -d "=" -f 2) FEATURES = $(shell grep configfeatures ../BuildOpts/`hostname`.config | cut -d "=" -f 2) FILEO = $(shell ls -q *.o) FILEAPP = $(shell ls -q *.app) #First Target =============================================================== default: Logger.o Logger.app : LoggerMain.o Logger.o $(COMPILER) $(CXXFLAGS) $^ -o $@ @echo " ==================================================" #Classes section =============================================================== %.o : %.C $(COMPILER) $(CXXFLAGS) -c $< @echo " ==================================================" #Global section ================================================================ clean: rm -rf $(FILEO) $(FILEAPP) *.so *~ DefaultLogfile.log *.txt @echo " ==================================================" objects: Logger.o all: Logger.app