mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
16 lines
417 B
Makefile
16 lines
417 B
Makefile
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.o log.o
|
|
|
|
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 test-engine
|