diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-12-15 01:07:15 +0100 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2014-12-15 01:07:15 +0100 |
commit | 2b32f1023b98583a7e5d02156b8af38c043b781d (patch) | |
tree | 5bd796eb9143d58bdb300ea16eade1abf2b236d4 /Makefile | |
parent | ca1b6c18fe8499e04f71f9d035be39b29118a6bd (diff) | |
download | t650-dfu-2b32f1023b98583a7e5d02156b8af38c043b781d.tar.gz |
Add makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..35f784d --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ + +# GCC before 5 has a bug with -Wmissing-field-initializers +#CC ?= clang +WFLAGS ?= -Wall -Wextra +CFLAGS ?= -I../lib -ggdb3 -fsanitize=undefined -fsanitize=address +LDFLAGS ?= -L../lib -lltunify + +fw-update: fw-update.c ../lib/libltunify.a + $(CC) $(WFLAGS) $(CFLAGS) $< -o $@ $(LDFLAGS) |