chiark / gitweb /
test-sizeof: also print float types from ISO/IEC TS 18661-3
[elogind.git] / Makefile
index ee144a3783579422c9dad5915c7d732d10753250..4de99579acd0640232e511c88fa028dbc6d4b9c1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,16 @@
-CFLAGS=-Wall -Wextra -O0 -g -pipe
-LIBS=-lrt
+.PHONY: all install loginctl test test-login
 
-systemd: main.o name.o util.o set.o hashmap.o strv.o job.o manager.o
-       $(CC) $(CFLAGS) -o $@ $^  $(LIBS)
+all:
+       ninja -C build
 
-clean:
-       rm -f *.o systemd
+install:
+       DESTDIR=$(DESTDIR) ninja -C build install
+
+loginctl:
+       ninja -C build loginctl
+
+test:
+       ninja -C build test
+
+test-login:
+       ninja -C build test-login