1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/transceiver/Makefile
René Kijewski 840c0f0a57 make: detect their module name automatically
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.

This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
2014-06-17 15:49:32 +02:00

14 lines
305 B
Makefile

ifneq (,$(filter cc2420,$(USEMODULE)))
INCLUDES += -I$(RIOTBASE)/sys/net/include
endif
ifneq (,$(filter at86rf231,$(USEMODULE)))
INCLUDES += -I$(RIOTBASE)/sys/net/include
endif
ifneq (,$(filter mc1322x,$(USEMODULE)))
INCLUDES += -I$(RIOTBASE)/sys/net/include
endif
include $(RIOTBASE)/Makefile.base