# $Id: GNUmakefile,v 1.3 2004/05/10 21:15:41 sachs Exp $ tbin: # Make tbin by default # ====================================================================== # # Minimization binary-building GNUmakefile # # ====================================================================== SUBDIRS = # ---------------------------------------------------------------------- # Identify the target binaries: # ---------------------------------------------------------------------- BINS = TBINS = $(patsubst %.cc,%,$(wildcard *.cc)) TBIN_DIR = $(SRT_PRIVATE_CONTEXT)/Minimization/Examples/bin/ # ---------------------------------------------------------------------- # Identify and categorize the sources for the above-named binaries: # ---------------------------------------------------------------------- SIMPLEBINS = $(patsubst %.cc,%,$(wildcard *.cc)) COMPLEXBIN = BINCCFILES = \ # ---------------------------------------------------------------------- # Identify other libraries to be linked: # ---------------------------------------------------------------------- BINLIBS = -lMinimization -lm # ---------------------------------------------------------------------- # Connect to other packages: # ---------------------------------------------------------------------- include SoftRelTools/standard.mk # ---------------------------------------------------------------------- # Make environment-specific adaptations: # ---------------------------------------------------------------------- ifeq (-MSVC50,$(findstring -MSVC50,$(BFARCH))) override BINLIBS := $(subst -lm,,$(BINLIBS)) endif override CCFLAGS := $(filter-out -O%, $(CCFLAGS)) -O0 override CXXFLAGS := $(filter-out -O%, $(CXXFLAGS)) -O0 # ======================================================================