summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-10-09 12:37:30 -0700
committerKeith Packard <keithp@keithp.com>2013-10-09 12:38:06 -0700
commitc584b5fc1128c7bfd7fb921ddc3a8ec498803b53 (patch)
treeaf8b9363c0b6c1aaa5923c1aafcd7429ab05aebb /src
parent74885d75621dad04984d8309c2618202f4d2b35e (diff)
altos: Messed up the ifeq syntax a bit so ARM bits weren't getting built
$(x) is not the same as ($x) Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/Makefile b/src/Makefile
index 3e4ed68d..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
-ifeq ($(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)