From 3312435c020760d94c245a714104754a4436ec3f Mon Sep 17 00:00:00 2001 From: Peter Hedinger Date: Thu, 6 Jun 2013 11:00:26 +0100 Subject: [PATCH] Now building with the 12.2 tools without xcommon cloned locally --- app_example_mixer/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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