aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile5
2 files changed, 6 insertions, 1 deletions
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