PROJECT_NAME = audiosynth # VERSION_MAJOR, VERSION_MINOR, and VERSION_TWEAK are available as preprocessor macros for all source files in the project VERSION_MAJOR = 1 VERSION_MINOR = 0 VERSION_TWEAK = 0 PROJECT_VERSION = ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_TWEAK} LIBRARY_TARGETS = library EXECUTABLE_TARGETS = unittest APPLICATION_TARGETS = # TARGET_NAME_${target} required for each target of any type; HUMAN_READABLE_TARGET_NAME_${target} required for each application target. Default values for TARGET_NAME_* shown below. #TARGET_NAME_library = libstem_${PROJECT_NAME} #TARGET_NAME_unittest = ${PROJECT_NAME}_unittest #TARGET_NAME_testharness = ${PROJECT_NAME}_testharness # Patterns: PLATFORMS, PLATFORMS_${target} PLATFORMS = macosx linux windows android iphonesimulator iphoneos CONFIGURATIONS_library = ${sort ${CONFIGURATIONS} profile} # Patterns: CCFLAGS, CCFLAGS_${target}, CCFLAGS_${configuration}, CCFLAGS_${platform}, CCFLAGS_${target}_${configuration}, CCFLAGS_${target}_${platform}, CCFLAGS_${configuration}_${platform}, CCFLAGS_${target}_${configuration}_${platform}, CCFLAGS_${target}_${platform}_${arch}, CCFLAGS_${configuration}_${platform}_${arch}, CCFLAGS_${target}_${configuration}_${platform}_${arch} CCFLAGS = -Wno-unused-result # Patterns: LINKFLAGS, LINKFLAGS_${target}, LINKFLAGS_${configuration}, LINKFLAGS_${platform}, LINKFLAGS_${target}_${configuration}, LINKFLAGS_${target}_${platform}, LINKFLAGS_${configuration}_${platform}, LINKFLAGS_${target}_${configuration}_${platform}, LINKFLAGS_${platform}_${arch}, LINKFLAGS_${target}_${platform}_${arch}, LINKFLAGS_${configuration}_${platform}_${arch}, LINKFLAGS_${target}_${configuration}_${platform}_${arch} LINKFLAGS = # PROJECT_LIBRARY_DEPENDENCIES_* refers to entries in LIBRARY_TARGETS to be linked when building the specified target # Patterns: PROJECT_LIBRARY_DEPENDENCIES_${target}, PROJECT_LIBRARY_DEPENDENCIES_${target}_${platform} PROJECT_LIBRARY_DEPENDENCIES_unittest = library # STEM_LIBRARY_DEPENDENCIES is specified as ${PROJECT_NAME}/${PROJECT_VERSION} for each stem library to be linked when building # Patterns: STEM_LIBRARY_DEPENDENCIES, STEM_LIBRARY_DEPENDENCIES_${target}, STEM_LIBRARY_DEPENDENCIES_${platform}, STEM_LIBRARY_DEPENDENCIES_${target}_${platform} STEM_LIBRARY_DEPENDENCIES = \ gamemath/latest \ pcmaudio/latest \ serialization/latest \ stemobject/latest \ utilities/latest STEM_LIBRARY_DEPENDENCIES_unittest = unittest/latest # THIRDPARTY_LIBRARY_DEPENDENCIES is specified as ${PROJECT_NAME}/${PROJECT_VERSION} for each thirdparty library to be linked when building # Patterns: THIRDPARTY_LIBRARY_DEPENDENCIES, THIRDPARTY_LIBRARY_DEPENDENCIES_${target}, THIRDPARTY_LIBRARY_DEPENDENCIES_${platform}, THIRDPARTY_LIBRARY_DEPENDENCIES_${target}_${platform} THIRDPARTY_LIBRARY_DEPENDENCIES = # Additional build prerequisites per target # Patterns: PREREQS, PREREQS_${target} PREREQS = SOURCES_library = \ source/${PROJECT_NAME}/AmplitudeEnvelope.c \ source/${PROJECT_NAME}/AmplitudeEnvelope_layered.c \ source/${PROJECT_NAME}/AmplitudeEnvelope_linearADSR.c \ source/${PROJECT_NAME}/AmplitudeEnvelope_pulse.c \ source/${PROJECT_NAME}/AmplitudeEnvelope_spline.c \ source/${PROJECT_NAME}/AmplitudeEnvelope_tremolo.c \ source/${PROJECT_NAME}/AudioMath.c \ source/${PROJECT_NAME}/AudioSampler_generalSynth.c \ source/${PROJECT_NAME}/AudioSamplerParameters.c \ source/${PROJECT_NAME}/AudioSamplerParameters_generalSynth.c \ source/${PROJECT_NAME}/AudioSamplerParameters_multitrack.c \ source/${PROJECT_NAME}/AudioSequence.c \ source/${PROJECT_NAME}/AudioSequenceItemCache.c \ source/${PROJECT_NAME}/FrequencyCurve.c \ source/${PROJECT_NAME}/FrequencyCurve_layered.c \ source/${PROJECT_NAME}/FrequencyCurve_ramp.c \ source/${PROJECT_NAME}/FrequencyCurve_spline.c \ source/${PROJECT_NAME}/FrequencyCurve_stairstep.c \ source/${PROJECT_NAME}/FrequencyCurve_vibrato.c \ source/${PROJECT_NAME}/GeneralSynthConfiguration.c \ source/${PROJECT_NAME}/HashTableAudioSamplerParametersKey.c \ source/${PROJECT_NAME}/MusicInstrument.c \ source/${PROJECT_NAME}/MusicInstrumentConfiguration.c \ source/${PROJECT_NAME}/MusicInstrument_drumlike.c \ source/${PROJECT_NAME}/MusicInstrument_pianolike.c \ source/${PROJECT_NAME}/MusicPattern.c \ source/${PROJECT_NAME}/MusicSequence.c \ source/${PROJECT_NAME}/SamplerObject.c \ source/${PROJECT_NAME}/sfxrSynth.c \ source/${PROJECT_NAME}/SignalFilter.c \ source/${PROJECT_NAME}/SignalFilter_bitcrush.c \ source/${PROJECT_NAME}/SignalFilter_compression.c \ source/${PROJECT_NAME}/SignalFilter_delay.c \ source/${PROJECT_NAME}/SignalFilter_distortion.c \ source/${PROJECT_NAME}/SplineInfo.c \ source/${PROJECT_NAME}/SynthPropertyController.c \ source/${PROJECT_NAME}/SynthPropertyController_ramp.c \ source/${PROJECT_NAME}/SynthPropertyController_sine.c \ source/${PROJECT_NAME}/WaveModifier.c \ source/${PROJECT_NAME}/WaveModifier_chord.c \ source/${PROJECT_NAME}/WaveModifier_distortion.c \ source/${PROJECT_NAME}/WaveModifier_harmonics.c \ source/${PROJECT_NAME}/WaveModifier_highLowpass.c \ source/${PROJECT_NAME}/WaveModifier_phaser.c \ source/${PROJECT_NAME}/WaveModifier_reset.c \ source/${PROJECT_NAME}/WaveModifier_ringModulation.c \ source/${PROJECT_NAME}/WaveModifier_sfxrHighLowpass.c \ source/${PROJECT_NAME}/WaveModifier_supersample.c \ source/${PROJECT_NAME}/WaveModifier_timeCurve.c \ source/${PROJECT_NAME}/WaveModifier_timeValueTransform.c \ source/${PROJECT_NAME}/WaveModifier_thinning.c \ source/${PROJECT_NAME}/WaveSampler.c \ source/${PROJECT_NAME}/WaveSampler_bitnoise.c \ source/${PROJECT_NAME}/WaveSampler_layered.c \ source/${PROJECT_NAME}/WaveSampler_modified.c \ source/${PROJECT_NAME}/WaveSampler_noise.c \ source/${PROJECT_NAME}/WaveSampler_pcmData.c \ source/${PROJECT_NAME}/WaveSampler_pinkNoise.c \ source/${PROJECT_NAME}/WaveSampler_pulse.c \ source/${PROJECT_NAME}/WaveSampler_sawtooth.c \ source/${PROJECT_NAME}/WaveSampler_sine.c \ source/${PROJECT_NAME}/WaveSampler_spike.c \ source/${PROJECT_NAME}/WaveSampler_spline.c \ source/${PROJECT_NAME}/WaveSampler_triangle.c # Executable targets named "unittest" should usually specify only SOURCES_unittest_suites, which must contain only test suite files. # If files other than test suites are required, specify SOURCES_unittest. SOURCES_unittest_suites = \ source/unittest/AudioMathTest.c # Public-facing include files to be distributed with the library, if any INCLUDES = \ source/${PROJECT_NAME}/AmplitudeEnvelope.h \ source/${PROJECT_NAME}/AmplitudeEnvelope_layered.h \ source/${PROJECT_NAME}/AmplitudeEnvelope_linearADSR.h \ source/${PROJECT_NAME}/AmplitudeEnvelope_pulse.h \ source/${PROJECT_NAME}/AmplitudeEnvelope_spline.h \ source/${PROJECT_NAME}/AmplitudeEnvelope_tremolo.h \ source/${PROJECT_NAME}/AudioMath.h \ source/${PROJECT_NAME}/AudioSampler_generalSynth.h \ source/${PROJECT_NAME}/AudioSamplerParameters_generalSynth.h \ source/${PROJECT_NAME}/AudioSamplerParameters.h \ source/${PROJECT_NAME}/AudioSamplerParameters_multitrack.h \ source/${PROJECT_NAME}/AudioSequence.h \ source/${PROJECT_NAME}/AudioSequenceItemCache.h \ source/${PROJECT_NAME}/FrequencyCurve.h \ source/${PROJECT_NAME}/FrequencyCurve_layered.h \ source/${PROJECT_NAME}/FrequencyCurve_ramp.h \ source/${PROJECT_NAME}/FrequencyCurve_spline.h \ source/${PROJECT_NAME}/FrequencyCurve_stairstep.h \ source/${PROJECT_NAME}/FrequencyCurve_vibrato.h \ source/${PROJECT_NAME}/GeneralSynthConfiguration.h \ source/${PROJECT_NAME}/HashTableAudioSamplerParametersKey.h \ source/${PROJECT_NAME}/MusicInstrumentConfiguration.h \ source/${PROJECT_NAME}/MusicInstrument_drumlike.h \ source/${PROJECT_NAME}/MusicInstrument.h \ source/${PROJECT_NAME}/MusicInstrument_pianolike.h \ source/${PROJECT_NAME}/MusicPattern.h \ source/${PROJECT_NAME}/MusicSequence.h \ source/${PROJECT_NAME}/Note.h \ source/${PROJECT_NAME}/SamplerObject.h \ source/${PROJECT_NAME}/sfxrSynth.h \ source/${PROJECT_NAME}/SignalFilter.h \ source/${PROJECT_NAME}/SignalFilter_bitcrush.h \ source/${PROJECT_NAME}/SignalFilter_compression.h \ source/${PROJECT_NAME}/SignalFilter_delay.h \ source/${PROJECT_NAME}/SignalFilter_distortion.h \ source/${PROJECT_NAME}/SplineInfo.h \ source/${PROJECT_NAME}/SynthProperty.h \ source/${PROJECT_NAME}/SynthPropertyController.h \ source/${PROJECT_NAME}/SynthPropertyController_ramp.h \ source/${PROJECT_NAME}/SynthPropertyController_sine.h \ source/${PROJECT_NAME}/WaveModifier.h \ source/${PROJECT_NAME}/WaveModifier_chord.h \ source/${PROJECT_NAME}/WaveModifier_distortion.h \ source/${PROJECT_NAME}/WaveModifier_harmonics.h \ source/${PROJECT_NAME}/WaveModifier_highLowpass.h \ source/${PROJECT_NAME}/WaveModifier_phaser.h \ source/${PROJECT_NAME}/WaveModifier_reset.h \ source/${PROJECT_NAME}/WaveModifier_ringModulation.h \ source/${PROJECT_NAME}/WaveModifier_sfxrHighLowpass.h \ source/${PROJECT_NAME}/WaveModifier_supersample.h \ source/${PROJECT_NAME}/WaveModifier_timeCurve.h \ source/${PROJECT_NAME}/WaveModifier_timeValueTransform.h \ source/${PROJECT_NAME}/WaveModifier_thinning.h \ source/${PROJECT_NAME}/WaveSampler.h \ source/${PROJECT_NAME}/WaveSampler_bitnoise.h \ source/${PROJECT_NAME}/WaveSampler_layered.h \ source/${PROJECT_NAME}/WaveSampler_modified.h \ source/${PROJECT_NAME}/WaveSampler_noise.h \ source/${PROJECT_NAME}/WaveSampler_pcmData.h \ source/${PROJECT_NAME}/WaveSampler_pinkNoise.h \ source/${PROJECT_NAME}/WaveSampler_pulse.h \ source/${PROJECT_NAME}/WaveSampler_sawtooth.h \ source/${PROJECT_NAME}/WaveSampler_sine.h \ source/${PROJECT_NAME}/WaveSampler_spike.h \ source/${PROJECT_NAME}/WaveSampler_spline.h \ source/${PROJECT_NAME}/WaveSampler_triangle.h # Patterns: RESOURCES, RESOURCES_${target}, RESOURCES_${platform}, RESOURCES_${target}_${platform} RESOURCES = # Pattern: PLIST_FILE_${target}_${platform} (required for application targets on macosx, iphoneos, and iphonesimulator) 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