]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - Makefile
Merge pull request #12207 from poettering/portable-bus-policy-fix
[thirdparty/systemd.git] / Makefile
index 6b129dfc9b78f3c1b590efbd7387def0c35c1e42..b7e13fba2e160ae474351f19e10333fcea09b588 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,5 @@
-CFLAGS=-Wall -pipe -W -O2 -Wextra -Wno-unused-parameter
-
-libnss_myhostname.so.2: nss-myhostname.o
-       $(CC) $(CFLAGS) -shared -o $@ -Wl,-soname,$@ $^
-       strip $@
+all:
+       ninja -C build
 
 install:
-       install -D -g root -m 644 -o root -v libnss_myhostname.so.2 /lib/libnss_myhostname.so.2
-
-clean:
-       rm -f *.o *~ libnss_myhostname.so.2
-
-.PHONY: clean  
+       DESTDIR=$(DESTDIR) ninja -C build install