From 7fad411cb551c3c1cbe801a3991e7a6966e462b5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 20 Jan 2010 05:03:52 +0100 Subject: start implementing a test suite for the engine --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ae82e8ce8..cc55d4d14 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,15 @@ CFLAGS=-Wall -Wextra -O0 -g -pipe -D_GNU_SOURCE -fdiagnostics-show-option -Wno-unused-parameter LIBS=-lrt -systemd: main.o 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.c + +all: systemd test-engine + +systemd: main.o $(COMMON) + $(CC) $(CFLAGS) -o $@ $^ $(LIBS) + +test-engine: test-engine.o $(COMMON) $(CC) $(CFLAGS) -o $@ $^ $(LIBS) clean: - rm -f *.o systemd + rm -f *.o systemd test-engine -- cgit v1.2.3