]> git.proxmox.com Git - systemd.git/blobdiff - Makefile
bump version to 252.11-pve1
[systemd.git] / Makefile
index f4bbb2aef59188d7de1b017bc2a77c9b5cd3f042..eeb0dbc62f1f7ad5b5af075e507cf41c1d70e716 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,7 @@
-CFLAGS=-Wall -Wextra -O0 -g -pipe -D_GNU_SOURCE -fdiagnostics-show-option -Wno-unused-parameter
-LIBS=-lrt
+# SPDX-License-Identifier: LGPL-2.1-or-later
 
-COMMON=name.o util.o set.o hashmap.o strv.o job.o manager.o conf-parser.o load-fragment.o socket-util.o log.o
+all:
+       ninja -C build
 
-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