aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-17 12:05:04 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-17 12:05:04 +0200
commit07271bb4611eaf032e160e9bf0c47f7bdfbe1854 (patch)
treeaaec00ca948910f58c507beb82aef80a94d3a5ae /config.mk
parent22384108d7430b47f8df1e0ecefcd398661a1b1a (diff)
downloadcherry-07271bb4611eaf032e160e9bf0c47f7bdfbe1854.tar.gz
cherry-07271bb4611eaf032e160e9bf0c47f7bdfbe1854.zip
Add config.mk
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..f6d4bec
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,15 @@
+# See LICENSE file for copyright and license details.
+
+NAME = cherry
+
+CC = cc
+SRC != find src -name '*.c'
+OBJ = ${SRC:.c=.o}
+LIB = x11 utils
+STD = c11
+#WRN = -Wall -Werror
+
+CFLAGS != pkg-config --cflags ${LIB}
+LFLAGS != pkg-config --libs ${LIB}
+
+CFLAGS += -std=${STD} ${WRN} ${OPT}