]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/tkn154/Makefile.include
renaming directories to lower cases
[tinyos-2.x.git] / apps / tests / tkn154 / Makefile.include
index 659aaf354b2af1e0234b14e3ac87b4e856df6048..06212b52584c4e48e12a269e43633e66096ffc71 100644 (file)
@@ -18,10 +18,12 @@ include $(MAKERULES)
 # checks whether the target platform is supported by the application;
 # the application Makefile can define PLATFORMS as a whitespace-separated
 # list of supported platforms
-ifneq ($(PLATFORMS),)
-  ifeq ($(strip $(foreach platform,$(PLATFORMS),$(findstring $(platform),$(PLATFORM)))),)
-    $(error The target platform is not supported by this application - supported platforms are: $(PLATFORMS))
+ifneq ($(PLATFORM),)
+  ifneq ($(PLATFORMS),)
+    ifeq ($(strip $(foreach platform,$(PLATFORMS),$(findstring $(platform),$(PLATFORM)))),)
+      $(error The target platform is not supported by this application - supported platforms are: $(PLATFORMS))
+    endif
   endif
+  include $(TKN154_PLATFORM_INCLUDE)
 endif
 
-include $(TKN154_PLATFORM_INCLUDE)