summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-11-30 21:17:22 +0100
committerxengineering <me@xengineering.eu>2022-11-30 21:17:22 +0100
commitc233d1b454efc50f913dd48fa11d223950f48947 (patch)
tree7cb3c226bdf49c006d5c913af19c66b58ffc6b4d
parent2550cae55865a1f87ae3ec7b71071994ff009c3b (diff)
downloadlimox-c233d1b454efc50f913dd48fa11d223950f48947.tar
limox-c233d1b454efc50f913dd48fa11d223950f48947.tar.zst
limox-c233d1b454efc50f913dd48fa11d223950f48947.zip
Switch from meson to Makefile
A Makefile is enough for this project because it has a very simpel structure. The additional complexity of meson is not necessary and furthermore I am more used to Makefiles.
-rw-r--r--Makefile10
-rw-r--r--meson.build3
2 files changed, 10 insertions, 3 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..18bde1e
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+.PHONY: all clean
+
+all: build
+ gcc main.c gui.c xmpp.c -o build/limox -lSDL2
+
+build:
+ mkdir -p build
+
+clean:
+ rm -rf build
diff --git a/meson.build b/meson.build
deleted file mode 100644
index a675aa6..0000000
--- a/meson.build
+++ /dev/null
@@ -1,3 +0,0 @@
-project('LimoX', 'c')
-sdl2dep = dependency('sdl2')
-executable('limox', ['main.c', 'gui.c', 'xmpp.c'], dependencies : [sdl2dep])