1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/test_nativenet/Makefile

35 lines
621 B
Makefile

debug: CFLAGS += -g
debug: CFLAGS += -DENABLE_DEBUG
# name of your project
export PROJECT = test_nativenet
#
# for easy switching of boards
export BOARD = native
# this has to be the absolute path of the RIOT-base dir
export RIOTBASE = $(CURDIR)/../..
ifeq (,$(findstring native,$(BOARD)))
include $(RIOTBASE)/Makefile.unsupported
else
## Modules to include.
USEMODULE += auto_init
USEMODULE += hwtimer
USEMODULE += nativenet
USEMODULE += transceiver
include $(RIOTBASE)/Makefile.include
debug: all
FORCE:
touch main.c
sender: CFLAGS += -DSENDER
sender: PROJECT = test_nativenet_sender
sender: FORCE all
endif