pinebuds/utils/hwtimer_list/Makefile

12 lines
253 B
Makefile
Raw Permalink Normal View History

2022-08-15 04:20:27 -05:00
cur_dir := $(dir $(lastword $(MAKEFILE_LIST)))
obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c))
obj-y := $(obj-y:.c=.o)
ccflags-y := -Iplatform/hal -Iplatform/cmsis
ifneq ($(HWTIMER_NUM),)
ccflags-y += -DHWTIMER_NUM=$(HWTIMER_NUM)
endif