Commit 5551bbb3 authored by Ruslan Kuprieiev's avatar Ruslan Kuprieiev Committed by Pavel Emelyanov

test: libcriu: include protobuf dir

We only need a rpc.pb-c.h header.
Signed-off-by: 's avatarRuslan Kuprieiev <rkuprieiev@cloudlinux.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 9e0ff7af
...@@ -11,13 +11,13 @@ run: all ...@@ -11,13 +11,13 @@ run: all
define genb define genb
$(1): $(1).o lib.o $(1): $(1).o lib.o
gcc $$^ -L ../../lib -lcriu -o $$@ gcc $$^ -L ../../lib -L ../../protobuf -lcriu -o $$@
endef endef
$(foreach t, $(TESTS), $(eval $(call genb, $(t)))) $(foreach t, $(TESTS), $(eval $(call genb, $(t))))
%.o: %.c %.o: %.c
gcc -c $^ -I../../lib/ -o $@ -Werror gcc -c $^ -I../../lib/ -I../../protobuf -o $@ -Werror
clean: clean:
rm -rf $(TESTS) $(TESTS:%=%.o) lib.o rm -rf $(TESTS) $(TESTS:%=%.o) lib.o
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment