8 lines
186 B
Makefile
8 lines
186 B
Makefile
|
cur_dir := $(dir $(lastword $(MAKEFILE_LIST)))
|
||
|
|
||
|
obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c))
|
||
|
obj-y := $(obj-y:.c=.o)
|
||
|
|
||
|
#ccflags-y := -I$(obj)/../../hal
|
||
|
ccflags-y := -Ihal
|