aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-06-01 20:45:38 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-06-01 20:45:38 +0200
commit137306044139d30d4b6d604f2a5c031ed5a70cca (patch)
tree80e48fc5f629452f0126f4d74d2626eb2389e791 /Makefile
parentf9ecb7e5b111193db0f5d714e748762ee2b8be1b (diff)
downloaddns-137306044139d30d4b6d604f2a5c031ed5a70cca.tar.gz
clangd settings
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 40430bd..c642e1f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
CC = clang
-CFLAGS = -Wall -std=c89 -D _DEFAULT_SOURCE
+CFLAGS = -Wall -std=c89 -D_DEFAULT_SOURCE
LDFLAGS = -lm
BUILDDIR = build
SOURCEDIR = src
@@ -44,3 +44,6 @@ clean:
.PHONY: all
all: clean build
+
+devsetup:
+ @echo "$(CFLAGS)" | tr ' ' '\n' > compile_flags.txt