use _ instead of - in file names

This commit is contained in:
Matthias Ringwald 2016-01-21 15:47:16 +01:00
parent 7907f06931
commit 8f1b6c7162
11 changed files with 10 additions and 10 deletions

View File

@ -7,34 +7,34 @@ CFLAGS = @CFLAGS@ \
prefix = @prefix@
all: test rfcomm-cat rfcomm-echo rfcomm-test inquiry l2cap-server l2cap-throughput le_scan
all: test rfcomm_cat rfcomm_echo rfcomm_test inquiry l2cap_server l2cap_throughput le_scan
test: test.c
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
l2cap-server: l2cap-server.c
l2cap_server: l2cap_server.c
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
l2cap-throughput: l2cap-throughput.c
l2cap_throughput: l2cap_throughput.c
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
inquiry: inquiry.c
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
rfcomm-cat: rfcomm-cat.c
rfcomm_cat: rfcomm_cat.c
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
rfcomm-echo: rfcomm-echo.c
rfcomm_echo: rfcomm_echo.c
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
rfcomm-test: rfcomm-test.c
rfcomm_test: rfcomm_test.c
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
le_scan: le_scan.c
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
clean:
rm -f test mitm rfcomm-cat rfcomm-echo rfcomm-test inquiry l2cap-server l2cap-throughput le_scan
rm -f test mitm rfcomm_cat rfcomm_echo rfcomm_test inquiry l2cap_server l2cap_throughput le_scan
rm -rf *.dSYM
install:

View File

@ -28,7 +28,7 @@ libBTstack_OBJS = \
btstack.o \
btstack_linked_list.o \
btstack_run_loop.o \
btstack_run_loop_posix.ho \
btstack_run_loop_posix.o \
hci_cmd.o \
hci_dump.o \
sdp_util.o \
@ -68,8 +68,8 @@ clean:
$(TOOLCHAIN):
$(NDK)/build/tools/make-standalone-toolchain.sh --install-dir=$@
libbluetoothdrv.so: bluetoothdrv-stub.o
$(GCC) $(LDFLAGS) -shared -o libbluetoothdrv.so bluetoothdrv-stub.o
libbluetoothdrv.so: bluetoothdrv_stub.o
$(GCC) $(LDFLAGS) -shared -o libbluetoothdrv.so bluetoothdrv_stub.o
.c.o:
$(GCC) $(CFLAGS) -o $@ -c $<