chiark / gitweb /
5c6d798fba7cea1be11bf9f29aef6ae797fdad6c
[elogind.git] / Makefile
1 CFLAGS=-Wall -Wextra -O0 -g -pipe -D_GNU_SOURCE -fdiagnostics-show-option -Wno-unused-parameter
2 LIBS=-lrt
3
4 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
5
6 all: systemd test-engine test-job-type
7
8 systemd: main.o $(COMMON)
9         $(CC) $(CFLAGS) -o $@ $^  $(LIBS)
10
11 test-engine: test-engine.o $(COMMON)
12         $(CC) $(CFLAGS) -o $@ $^  $(LIBS)
13
14 test-job-type: test-job-type.o $(COMMON)
15         $(CC) $(CFLAGS) -o $@ $^  $(LIBS)
16
17 clean:
18         rm -f *.o systemd test-engine