20 lines
459 B
Diff
20 lines
459 B
Diff
|
--- a/Makefile
|
||
|
+++ b/Makefile
|
||
|
@@ -1,4 +1,4 @@
|
||
|
-CFLAGS := -Wall -g
|
||
|
+CFLAGS := -g
|
||
|
#CC := $(CROSS_COMPLE)gcc
|
||
|
all: rtk_hciattach
|
||
|
OBJS := hciattach.o hciattach_rtk.o hciattach_h4.o rtb_fwc.o
|
||
|
@@ -12,6 +12,10 @@
|
||
|
clean:
|
||
|
rm -f $(OBJS) rtk_hciattach
|
||
|
|
||
|
+install:
|
||
|
+ install -m 755 -d $(DESTDIR)/usr/bin
|
||
|
+ install -m 755 rtk_hciattach $(DESTDIR)/usr/bin
|
||
|
+
|
||
|
tags: FORCE
|
||
|
ctags -R
|
||
|
find ./ -name "*.h" -o -name "*.c" -o -name "*.cc" -o -name "*.cpp" > cscope.files
|