-CFLAGS=-Wall -Wextra -O0 -g -pipe -D_GNU_SOURCE -fdiagnostics-show-option -Wno-unused-parameter
-LIBS=-lrt
+all:
+ ninja -C build
-systemd: main.o name.o util.o set.o hashmap.o strv.o job.o manager.o
- $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
-
-clean:
- rm -f *.o systemd
+install:
+ DESTDIR=$(DESTDIR) ninja -C build install