summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..85c6ab4
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+CFLAGS=-Wextra -Wall -O0 -g `pkg-config --cflags dbus-1`
+LIBS= `pkg-config --libs dbus-1`
+
+all: rtkit-daemon rtkit-test
+
+rtkit-daemon: rtkit-daemon.o
+ $(CC) $(CFLAGS) $(LIBS) -o rtkit-daemon $^
+
+rtkit-test: rtkit-test.o rtkit.o rtkit.h
+ $(CC) $(CFLAGS) $(LIBS) -o rtkit-test $^
+
+clean:
+ rm -rf rtkit-daemon *.o