X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=d61e14b63a81a8b5be00763d7267037e25549d11;hb=fdf88f5f3383dc4fdd7358b954c6b79e4fe0791b;hp=9a862207cd58ae7853a7d7b3e8cbe3efff6ede73;hpb=87f0e418cf2c58b3201d06a60e3696ec672d2662;p=elogind.git diff --git a/Makefile b/Makefile index 9a862207c..d61e14b63 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CFLAGS=-Wall -Wextra -O0 -g -pipe -D_GNU_SOURCE -fdiagnostics-show-option -Wno-unused-parameter +CFLAGS=-Wall -Wextra -O0 -g -pipe -D_GNU_SOURCE -fdiagnostics-show-option -Wno-unused-parameter -DUNIT_PATH=\"/tmp/does/not/exist\" LIBS=-lrt -lcap COMMON= \ @@ -25,11 +25,14 @@ COMMON= \ load-dropin.o \ execute.o -all: systemd test-engine test-job-type +all: systemd test-engine test-job-type systemd-logger systemd: main.o $(COMMON) $(CC) $(CFLAGS) -o $@ $^ $(LIBS) +systemd-logger: logger.o $(COMMON) + $(CC) $(CFLAGS) -o $@ $^ $(LIBS) + test-engine: test-engine.o $(COMMON) $(CC) $(CFLAGS) -o $@ $^ $(LIBS)