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
This commit is contained in:
Érico Nogueira 2021-09-20 20:24:53 -03:00
parent f0f63ce268
commit 27930277bc
1 changed files with 4 additions and 0 deletions

4
Makefile Normal file
View File

@ -0,0 +1,4 @@
OPT = -O2
CFLAGS = -Wall -Wextra -Wno-missing-braces $(OPT)
all: dnsquery