X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FMakefile;h=a0a271c6622426eea3f547c8072cff5d95bff79d;hb=9b0ce8ca65d76b9cf55dfff002e13ce2fbb5f7fc;hp=ae231c64af20a19482965819a36a0ceb77f02223;hpb=6a1e398e590121458176758858bb4210f3eb5a55;p=fw%2Faltos diff --git a/src/Makefile b/src/Makefile index ae231c64..a0a271c6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -39,20 +39,24 @@ ARMM0DIRS=\ AVRDIRS=\ telescience-v0.1 telescience-pwm micropeak nanopeak-v0.1 +SUBDIRS= + ifeq ($(strip $(HAVE_SDCC)),yes) - SUBDIRS += $(SDCCDIRS) +SUBDIRS+=$(SDCCDIRS) endif -ifeq ($(strip ($HAVE_ARM_M3_CC)),yes) - SUBDIRS += $(ARMM3DIRS) +ifeq ($(strip $(HAVE_ARM_M3_CC)),yes) +SUBDIRS+=$(ARMM3DIRS) +foo=bar endif -ifneq ($(strip ($HAVE_ARM_M0_CC)),yes) - SUBDIRS += $(ARMM0DIRS) +ifeq ($(strip $(HAVE_ARM_M0_CC)),yes) +SUBDIRS+=$(ARMM0DIRS) +baz=bletch endif ifeq ($(strip $(HAVE_AVR_CC)),yes) - SUBDIRS += $(AVRDIRS) +SUBDIRS += $(AVRDIRS) endif ALLDIRS=$(SDCCDIRS) $(ARMM3DIRS) $(ARMM0DIRS) $(AVRDIRS)