aboutsummaryrefslogtreecommitdiffstats
path: root/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'options.mk')
-rw-r--r--options.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/options.mk b/options.mk
new file mode 100644
index 0000000..51bd7ff
--- /dev/null
+++ b/options.mk
@@ -0,0 +1,17 @@
+# options.mk
+
+CC ?= cc
+CFLAGS = -O2 -Wall -pipe -std=c11
+
+CXX ?= c++
+CXXFLAGS = -std=c++17
+
+# C preprocessor flags
+CPPFLAGS = -D_DEFAULT_SOURCE=1
+
+LDFLAGS =
+LDLIBS = -lcrypt
+RM ?= @rm -f
+
+E = @echo
+Q = @