]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - Makefile
fs-util: no need for fchmod_and_chown() to access /proc/self/fd directly
[thirdparty/systemd.git] / Makefile
index cc55d4d149067cf06e7ecee5a42250323fd0e4e2..b7e13fba2e160ae474351f19e10333fcea09b588 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,5 @@
-CFLAGS=-Wall -Wextra -O0 -g -pipe -D_GNU_SOURCE -fdiagnostics-show-option -Wno-unused-parameter
-LIBS=-lrt
+all:
+       ninja -C build
 
-COMMON=name.o util.o set.o hashmap.o strv.o job.o manager.o conf-parser.o load-fragment.o socket-util.c
-
-all: systemd test-engine
-
-systemd: main.o $(COMMON)
-       $(CC) $(CFLAGS) -o $@ $^  $(LIBS)
-
-test-engine: test-engine.o $(COMMON)
-       $(CC) $(CFLAGS) -o $@ $^  $(LIBS)
-
-clean:
-       rm -f *.o systemd test-engine
+install:
+       DESTDIR=$(DESTDIR) ninja -C build install