diff options
-rw-r--r-- | AUTHORS | 0 | ||||
-rw-r--r-- | COPYING | 0 | ||||
-rw-r--r-- | ChangeLog | 0 | ||||
-rw-r--r-- | Makefile | 41 | ||||
-rw-r--r-- | NEWS | 0 | ||||
-rw-r--r-- | README | 0 |
6 files changed, 0 insertions, 41 deletions
diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/ChangeLog diff --git a/Makefile b/Makefile deleted file mode 100644 index 5566f0b..0000000 --- a/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -CSRCS=nrfdfu.c util.c zip.c ble.c manifest.c dfu.c hexdump.c -BLUEZ_SRCS=bluez/att.c bluez/queue.c bluez/crypto.c bluez/util.c bluez/io-mainloop.c bluez/timeout-mainloop.c bluez/mainloop.c bluez/gatt-db.c bluez/uuid.c bluez/gatt-client.c bluez/gatt-helpers.c - -PROG=nrfdfu - -OPT=-g -WARN=-Wall - - -CPROTO=cproto -ZIP_INCLUDES=$(shell pkg-config --cflags libzip) -ZIP_LIBS=$(shell pkg-config --libs libzip) -JSON_C_INCLUDES=$(shell pkg-config --cflags json-c) -JSON_C_LIBS=$(shell pkg-config --libs json-c) -BLUEZ_INCLUDES=$(shell pkg-config --cflags bluez) -BLUEZ_LIBS=$(shell pkg-config --libs bluez) - - -INCLUDES=${ZIP_INCLUDES} ${JSON_C_INCLUDES} ${BLUEZ_INCLUDES} -LIBS=${ZIP_LIBS} ${JSON_C_LIBS} ${BLUEZ_LIBS} -CPPFLAGS=${DEFINES} ${INCLUDES} -CFLAGS=${OPT} ${WARN} -OBJS=${CSRCS:%.c=%.o} ${BLUEZ_SRCS:%.c=%.o} - - -all: ${PROG} - -${PROG}:${OBJS} - ${CC} ${CFLAGS} ${LDFLAGS} -o ${PROG} ${OBJS} ${LIBS} - -protos: - echo > prototypes.h - ${CPROTO} ${CPPFLAGS} -e -v ${CSRCS} > prototypes.new - mv prototypes.new prototypes.h - -clean: - /bin/rm -f ${OBJS} ${PROG} *~ core.* core - -test: ${PROG} - ./${PROG} -b fd:f9:62:4a:8a:c8 -p test.zip - |