diff options
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) |