X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=apps%2Ftosthreads%2Fapps%2FTestBlockStorage%2FMakefile;h=f3394f9fa99ceb3cb75655d3d25152390db4b8de;hb=d9191f71473f7148e89df2742bf2200710c7cb2a;hp=c10c64ffd40a3942ea019ca7147f26080434d5ba;hpb=2a2d4fe517e6cf092c375d7824ba077e2943033f;p=tinyos-2.x.git diff --git a/apps/tosthreads/apps/TestBlockStorage/Makefile b/apps/tosthreads/apps/TestBlockStorage/Makefile index c10c64ff..f3394f9f 100644 --- a/apps/tosthreads/apps/TestBlockStorage/Makefile +++ b/apps/tosthreads/apps/TestBlockStorage/Makefile @@ -1,10 +1,20 @@ COMPONENT=TestBlockStorageAppC +THIS_SUPPORTED_PLATFORMS=tmote telos telosb eyesIFXv1 eyesIFXv2 mica2 mica2dot telosa eyesIFX micaz iris tinynode -ifneq ($(filter telosb,$(MAKECMDGOALS)),) - CFLAGS+=-DUSE_STM25P -endif -ifneq ($(filter micaz iris,$(MAKECMDGOALS)),) - CFLAGS+=-DUSE_AT45DB +ifneq ($(filter $(THIS_SUPPORTED_PLATFORMS) clean,$(MAKECMDGOALS)),) + ifneq ($(filter tmote telos telosb eyesIFXv1,$(MAKECMDGOALS)),) + CFLAGS+=-DUSE_STM25P + endif + ifneq ($(filter mica2 telosa mica2dot eyesIFX eyesIFXv2 micaz iris tinynode,$(MAKECMDGOALS)),) + CFLAGS+=-DUSE_AT45DB + endif + + include $(MAKERULES) +else +%: + @echo " Sorry, this application is only written to work with the following platforms:" + @echo " $(THIS_SUPPORTED_PLATFORMS)" +threads: + @: endif -include $(MAKERULES)