From 28f125258d416a521fd78880da292cf7ea48d35f Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Wed, 9 Sep 2015 22:11:58 +0200 Subject: [PATCH] Modify all base apps Makefiles according to the new subdirectory scheme --- microphone/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/microphone/Makefile b/microphone/Makefile index 91407f3..954c63f 100644 --- a/microphone/Makefile +++ b/microphone/Makefile @@ -1,10 +1,13 @@ -# Makefile for GPIO Demo Module apps +# Makefile for "base" apps +# This includes apps for the GPIO Demo Module and for the LPC1224-BO board. +MODULE = $(shell basename $(shell cd .. && pwd && cd -)) NAME = $(shell basename $(CURDIR)) .PHONY: $(NAME).bin $(NAME).bin: - @make -C ../.. --no-print-directory NAME=$(NAME) apps/$(NAME)/$@ + @make -C ../../.. --no-print-directory NAME=$(NAME) MODULE=$(MODULE) apps/$(MODULE)/$(NAME)/$@ clean mrproper: - @make -C ../.. --no-print-directory $@ + @make -C ../../.. --no-print-directory $@ + -- 2.43.0