2014-02-10 15:28:55 +01:00
|
|
|
# name of your application
|
2014-01-10 16:21:35 +01:00
|
|
|
export PROJECT = test_bloom
|
|
|
|
|
|
|
|
# for easy switching of boards
|
|
|
|
export BOARD ?= native
|
|
|
|
|
|
|
|
# this has to be the absolute path of the RIOT-base dir
|
|
|
|
export RIOTBASE = $(CURDIR)/../..
|
|
|
|
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter msb-430,$(BOARD)))
|
|
|
|
include $(RIOTBASE)/Makefile.unsupported
|
|
|
|
else
|
|
|
|
ifneq (,$(filter msb-430h,$(BOARD)))
|
|
|
|
include $(RIOTBASE)/Makefile.unsupported
|
2014-01-10 16:21:35 +01:00
|
|
|
else
|
|
|
|
|
|
|
|
## Modules to include.
|
|
|
|
USEMODULE += hashes
|
|
|
|
USEMODULE += bloom
|
|
|
|
|
|
|
|
export PROJDEPS = sets.h
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|
|
|
|
endif
|
|
|
|
|
|
|
|
sets.h: generate_sets.py words.txt.gz
|
|
|
|
./generate_sets.py 10000 20
|