From 2b32f1023b98583a7e5d02156b8af38c043b781d Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Mon, 15 Dec 2014 01:07:15 +0100 Subject: Add makefile --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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) -- cgit v1.2.1