Files
orangepi-build/external/cache/sources/rtk_hciattach/Makefile
2020-10-30 09:50:39 +08:00

21 lines
444 B
Makefile

CFLAGS := -Wall -g
CC := $(CROSS_COMPILE)gcc
all: rtk_hciattach
OBJS := hciattach.o hciattach_rtk.o hciattach_h4.o rtb_fwc.o
rtk_hciattach: $(OBJS)
$(CROSS_COMPILE)gcc -o rtk_hciattach $(OBJS)
%.o: %.c
$(CROSS_COMPILE)gcc -c $< -o $@ $(CFLAGS)
clean:
rm -f $(OBJS) rtk_hciattach
tags: FORCE
ctags -R
find ./ -name "*.h" -o -name "*.c" -o -name "*.cc" -o -name "*.cpp" > cscope.files
cscope -bkq -i cscope.files
PHONY += FORCE
FORCE: