X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=d61e14b63a81a8b5be00763d7267037e25549d11;hb=b19e7dc0104c8839835a90d7df20c2eeb631e07e;hp=c473262effbf76c78393004067f118e6fa8a266f;hpb=c22cbe2672db2c95647c9412cfb4331d2be279a7;p=elogind.git diff --git a/Makefile b/Makefile index c473262ef..d61e14b63 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ -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= \ - name.o \ + unit.o \ util.o \ set.o \ hashmap.o \ @@ -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)