aboutsummaryrefslogtreecommitdiffstats
path: root/options.mk
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-09 13:35:03 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-09 13:35:03 +0100
commit95be538a932ad869332264be0633d17f34e11ccd (patch)
tree2569a68ba8c9da12ab5720d71898308e75435924 /options.mk
parent2778ba9a7ce04503a0a4dc4f542d3979827ea874 (diff)
Added new makefiles
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 = @