update c build script
[PxpRpc.git] / c / pxprpc_tbox / make-config.mk
blobce3511f5a30f5a6488b855e6a75670e7a5d2e9d7
3 # PXPRPC_SOURCE_ROOT=path of this project.
5 include $(PXPRPC_SOURCE_ROOT)/c/pxprpc/make-config.mk
7 PXPRPC_TBOX_CFLAGS=$(PXPRPC_CFLAGS) $(TBOX_CFLAGS)
9 PXPRPC_TBOX_LDFLAGS=pxprpc_server_tbox.o $(PXPRPC_LDFLAGS) $(TBOX_LDFLAGS)
13 pxprpc_tbox_test:build_pxprpc_tbox $(PXPRPC_SOURCE_ROOT)/c/pxprpc_tbox/test.cpp
14 $(CC) -o __temp_test -g $(CFLAGS) $(PXPRPC_TBOX_CFLAGS) test.cpp $(LDFLAGS) $(PXPRPC_TBOX_LDFLAGS) -lstdc++
15 ./__temp_test
17 build_pxprpc_tbox:$(PXPRPC_SOURCE_ROOT)/c/pxprpc_tbox/server_tbox.c build_pxprpc
18 $(CC) -o pxprpc_server_tbox.o -c $(CFLAGS) $(PXPRPC_CFLAGS) $<