diff --git a/app_example_mixer/Makefile b/app_example_mixer/Makefile index b532e13..b2e883e 100644 --- a/app_example_mixer/Makefile +++ b/app_example_mixer/Makefile @@ -24,6 +24,8 @@ XCC_FLAGS = -Wall -O3 -report -g # The USED_MODULES variable lists other module used by the application. USED_MODULES = module_audio_mixer +run: + xsim ./bin/app_example_mixer.xe > log.txt; gnuplot plot.p; #============================================================================= # The following part of the Makefile includes the common build infrastructure @@ -31,8 +33,5 @@ USED_MODULES = module_audio_mixer # Use the main Makefile from module_xmos_common -XMOS_MAKE_DIR ?= ../.. -include $(XMOS_MAKE_DIR)/xcommon/module_xcommon/build/Makefile.common - -run: - xsim ./bin/app_example_mixer.xe > log.txt; gnuplot plot.p; +XMOS_MAKE_PATH ?= ../.. +include $(XMOS_MAKE_PATH)/xcommon/module_xcommon/build/Makefile.common