# Copyright (c) 2005-2006 Andre Merzky (andre@merzky.net) # # Use, modification and distribution is subject to the Boost Software # License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) SAGA_ROOT = ../../.. #SAGA_ENV += /bin/env #SAGA_ENV += BOOST_TEST_SHOW_PROGRESS=yes #SAGA_ENV += BOOST_TEST_OUTPUT_FORMAT=HRF #SAGA_ENV += BOOST_TEST_REPORT_LEVEL=detailed #SAGA_ENV += BOOST_TEST_LOG_LEVEL=all_errors #SAGA_ENV += BOOST_TEST_BUILD_INFO=yes #SAGA_ENV += BOOST_TEST_CATCH_SYSTEM_ERRORS=yes #SAGA_ENV += BOOST_TEST_DETECT_MEMORY_LEAK=1 #SAGA_ENV += LD_LIBRARY_PATH=$(SAGA_LOCATION)/lib SAGA_SRC = $(wildcard *.cpp) SAGA_HDR = $(wildcard *.hpp) SAGA_BIN = test_saga SAGA_ADD_BIN_OBJ = $(SAGA_SRC:%.cpp=%.o) include $(SAGA_ROOT)/make/saga.application.mk # include package makes #SAGA_MKS += $(shell find $(SAGA_ROOT)/saga/saga/packages/ -name saga.package.*.mk) #SAGA_MKS += $(shell find $(SAGA_ROOT)/saga/impl/packages/ -name saga.package.*.mk) #ifneq "" "$(SAGA_MKS)" # include $(SAGA_MKS) #endif SAGA_LDFLAGS += -L$(SAGA_ROOT)/saga/impl/engine -lsaga_engine -ldl SAGA_CXXFLAGS += -P SAGA_LDFLAGS += -L$(SAGA_BOOST_DIR)/lib -lboost_unit_test_framework-gcc-mt-d-1_33_1 -L$(SAGA_LIB_ROOT) #tests: $(SAGA_BIN) # $(SAGA_ENV) ./$(SAGA_BIN) #test.o: $(SAGA_HDR)