PROJECT_NAME = unittest # VERSION_MAJOR, VERSION_MINOR, and VERSION_TWEAK are available as preprocessor macros for all source files in the project VERSION_MAJOR = 1 VERSION_MINOR = 2 VERSION_TWEAK = 0 LIBRARY_TARGETS = library EXECUTABLE_TARGETS = APPLICATION_TARGETS = # Patterns: PLATFORMS, PLATFORMS_${target} PLATFORMS = macosx iphonesimulator linux windows # Patterns: CCFLAGS, CCFLAGS_${target}, CCFLAGS_${configuration}, CCFLAGS_${platform}, CCFLAGS_${target}_${configuration}, CCFLAGS_${target}_${platform}, CCFLAGS_${configuration}_${platform}, CCFLAGS_${target}_${configuration}_${platform} CCFLAGS_windows = -Wno-clobbered CCFLAGS_linux = -Wno-unused-result # Patterns: LINKFLAGS, LINKFLAGS_${target}, LINKFLAGS_${platform}, LINKFLAGS_${target}_${platform} LINKFLAGS_library_linux = -ldl SOURCES_library = \ source/${PROJECT_NAME}/unittest_main.c INCLUDES = \ source/${PROJECT_NAME}/TestSuite.h # Patterns: RESOURCES, RESOURCES_${target}, RESOURCES_${platform}, RESOURCES_${target}_${platform} RESOURCES = # Pattern: PLIST_FILE_${target}_${platform} INSTALLED_TARGETS = library # Postamble to invoke stemconfig makefile. Do not modify. UNAME = ${shell uname} ifeq (${UNAME},Linux) STEM_SHARED_DIR ?= /usr/local/stem else ifeq (${UNAME},Darwin) STEM_SHARED_DIR ?= /usr/local/stem else STEM_SHARED_DIR ?= C:/stem endif include ${STEM_SHARED_DIR}/Makefile.global