altos: Messed up the ifeq syntax a bit so ARM bits weren't getting built
[fw/altos] / src / Makefile
index 3e4ed68d4d630180872444c45012bb21b1cccdc1..a0a271c6622426eea3f547c8072cff5d95bff79d 100644 (file)
@@ -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)