mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-09 09:17:20 +07:00
First Commit
This commit is contained in:
20
external/cache/sources/rtk_hciattach/Makefile
vendored
Normal file
20
external/cache/sources/rtk_hciattach/Makefile
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
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:
|
||||
Reference in New Issue
Block a user