chiark / gitweb /
fix job merging
[elogind.git] / Makefile
index cc55d4d149067cf06e7ecee5a42250323fd0e4e2..5c6d798fba7cea1be11bf9f29aef6ae797fdad6c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
 CFLAGS=-Wall -Wextra -O0 -g -pipe -D_GNU_SOURCE -fdiagnostics-show-option -Wno-unused-parameter
 LIBS=-lrt
 
-COMMON=name.o util.o set.o hashmap.o strv.o job.o manager.o conf-parser.o load-fragment.o socket-util.c
+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: systemd test-engine
+all: systemd test-engine test-job-type
 
 systemd: main.o $(COMMON)
        $(CC) $(CFLAGS) -o $@ $^  $(LIBS)
@@ -11,5 +11,8 @@ systemd: main.o $(COMMON)
 test-engine: test-engine.o $(COMMON)
        $(CC) $(CFLAGS) -o $@ $^  $(LIBS)
 
+test-job-type: test-job-type.o $(COMMON)
+       $(CC) $(CFLAGS) -o $@ $^  $(LIBS)
+
 clean:
        rm -f *.o systemd test-engine