X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=apps%2Ftosthreads%2Fcapps%2FTestLogStorage%2FMakefile;fp=apps%2Ftosthreads%2Fcapps%2FTestLogStorage%2FMakefile;h=5a4a3997dcd6976c69b8ed44db401afd04004545;hb=b4356df561e4d3e2b06bfc630aa853548fc0d49b;hp=957c956821f48a7955f55a3ede5d22793bdda11c;hpb=487c267637a214ada2b0199d77b15ae7b7756487;p=tinyos-2.x.git diff --git a/apps/tosthreads/capps/TestLogStorage/Makefile b/apps/tosthreads/capps/TestLogStorage/Makefile index 957c9568..5a4a3997 100644 --- a/apps/tosthreads/capps/TestLogStorage/Makefile +++ b/apps/tosthreads/capps/TestLogStorage/Makefile @@ -1,2 +1,19 @@ TOSTHREAD_MAIN=TestLogStorage.c -include $(MAKERULES) +THIS_SUPPORTED_PLATFORMS=tmote telos telosb eyesIFXv1 eyesIFXv2 mica2 mica2dot telosa eyesIFX micaz iris tinynode + +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)" +cthreads: + @: +endif