mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 05:18:00 +00:00
Add "compel libs" that prints the list of libraries needed to link the parasite loader. Make compel/test/ and criu/ to use it. travis-ci: success for More polishing for compel cli Signed-off-by: Kir Kolyshkin <kir@openvz.org> Acked-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
17 lines
274 B
Makefile
17 lines
274 B
Makefile
CC := gcc
|
|
CFLAGS ?= -O2 -g -Wall -Werror
|
|
|
|
COMPEL := ../../../compel/compel-host
|
|
|
|
all: victim spy
|
|
|
|
clean:
|
|
rm -f victim
|
|
rm -f spy
|
|
|
|
victim: victim.c
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
spy: spy.c
|
|
$(CC) $(CFLAGS) $(shell $(COMPEL) includes) -o $@ $^ $(shell $(COMPEL) --static libs)
|