From 27930277bcc1754386df0834b447a595b86c1934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Mon, 20 Sep 2021 20:24:53 -0300 Subject: [PATCH] Add basic Makefile. -Wno-missing braces necessary due to bogus GCC warning, see [1]. [1] https://stackoverflow.com/questions/13746033/how-to-repair-warning-missing-braces-around-initializer --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..63a11c5 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +OPT = -O2 +CFLAGS = -Wall -Wextra -Wno-missing-braces $(OPT) + +all: dnsquery