summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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])