summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-12 15:37:26 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-12 15:37:26 +0200
commit0157900ccb8d03bf8532d7e9c04b926f7ea63853 (patch)
tree08d9cf85769f7fcbaa6c0bdb25fed8ad273cfa9f /config.mk
downloadtimelog-0157900ccb8d03bf8532d7e9c04b926f7ea63853.tar.gz
timelog-0157900ccb8d03bf8532d7e9c04b926f7ea63853.zip
Initial commitHEADmaster
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..1ac3221
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,18 @@
+# See LICENSE file for copyright and license details.
+
+APPNAME = timelog
+VERSION = 0.0.0-a1
+
+CC = cc
+SRC != find src -name '*.c'
+OBJ = ${SRC:.c=.o}
+WARN = -Wall
+STD = c11
+LIBS = gtk4
+
+INCLUDES != pkg-config --cflags ${LIBS}
+LIBRARIES != pkg-config --libs ${LIBS}
+
+CFLAGS = ${CFLAGS_OPTS} -std=${STD} ${WARN} ${INCLUDES} \
+ -DVERSION="\"${VERSION}\"" -DAPPNAME="\"${APPNAME}\""
+LFLAGS = ${LFLAGS_OPTS} ${LIBRARIES}