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

13 lines
385 B
Makefile
Raw Normal View History

MODULE ?= $(shell basename $(CURDIR))
TOUCH_DEV_INTERFACE ?= $(MODULE)_touch_dev.c
# by default include all .c files except <module>_touch_dev.c
SRC = $(filter-out $(TOUCH_DEV_INTERFACE),$(wildcard *.c))
# only include <module>_touch_dev.c if touch_dev module is used
ifneq (,$(filter touch_dev,$(USEMODULE)))
SRC += $(TOUCH_DEV_INTERFACE)
endif
include $(RIOTBASE)/Makefile.base