From 137306044139d30d4b6d604f2a5c031ed5a70cca Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Tue, 1 Jun 2021 20:45:38 +0200 Subject: clangd settings --- .gitignore | 2 ++ Makefile | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7a75f37..972774c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ obj/ build/ tags + +compile_flags.txt 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 -- cgit v1.2.3