1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-03 01:17:45 +03:00
systemd-stable/Makefile

19 lines
508 B
Makefile
Raw Normal View History

CFLAGS=-Wall -Wextra -O0 -g -pipe -D_GNU_SOURCE -fdiagnostics-show-option -Wno-unused-parameter
2009-11-18 02:42:52 +03:00
LIBS=-lrt
2010-01-20 21:18:52 +03:00
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
2010-01-21 02:51:37 +03:00
all: systemd test-engine test-job-type
systemd: main.o $(COMMON)
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
test-engine: test-engine.o $(COMMON)
2009-11-18 02:42:52 +03:00
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
2010-01-21 02:51:37 +03:00
test-job-type: test-job-type.o $(COMMON)
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
2009-11-18 02:42:52 +03:00
clean:
rm -f *.o systemd test-engine