28 lines
498 B
Plaintext
28 lines
498 B
Plaintext
include $(MK)/prologue.mk
|
|
|
|
.DEFAULT_GOAL := all
|
|
|
|
# OBJ var holds all OBJS required to link the kernel
|
|
|
|
dir := proto
|
|
include $(dir)/Rules.mk
|
|
dir := server
|
|
include $(dir)/Rules.mk
|
|
dir := client
|
|
include $(dir)/Rules.mk
|
|
|
|
LDFLAGS_TMP := -L/usr/local/lib `pkg-config --libs protobuf grpc++ grpc`\
|
|
-Wl,--no-as-needed -lgrpc++_reflection -Wl,--as-needed \
|
|
-ldl \
|
|
|
|
.PHONY: all
|
|
all: out/vrsrv
|
|
|
|
out/vrsrv: $(OBJ)
|
|
$(LINK)
|
|
|
|
clean:
|
|
rm -rf $(OUT)
|
|
|
|
include $(MK)/epilogue.mk
|