6 lines
216 B
Makefile
6 lines
216 B
Makefile
cur_dir := $(dir $(lastword $(MAKEFILE_LIST)))
|
|
|
|
obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.S))
|
|
obj-y := $(filter-out %Functions.c,$(obj-y))
|
|
obj-y := $(obj-y:.c=.o)
|
|
obj-y := $(obj-y:.S=.o)
|