5 lines
133 B
Makefile
5 lines
133 B
Makefile
|
cur_dir := $(dir $(lastword $(MAKEFILE_LIST)))
|
||
|
|
||
|
obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c))
|
||
|
obj-y := $(obj-y:.c=.o)
|