c# backend first commit
[PxpRpc.git] / c / readme.md
blob87c0ed80af85d7612f97ed9ecd72117931a341ce
3 ## Use pxprpc with Makefile
5 Set environment variable "PXPRPC_SOURCE_ROOT" to the path of this project.
7 In makefile, add make config script by "include", like below
9 `include $(PXPRPC_SOURCE_ROOT)/c/pxprpc/make-config.mk`
11 or 
13 `include $(PXPRPC_SOURCE_ROOT)/c/pxprpc_libuv/make-config.mk`
17 These scripts will add the source files list into variable `$(C_SOURCE_FILES)`, and also other build flags into `$(CFLAGS)`, `$(LDFLAGS).`
18 then build like below
20 `$(CC) -o myprog $(CFLAGS) myprog.cpp $(C_SOURCE_FILES) $(LDFLAGS)`
24 See also pxprpc_libuv/make-config.mk, which contains a build example.
27 You may need set `$(LIBUV_CFLAGS)` and `$(LIBUV_LDFLAGS)` variable if use pxprpc_libuv backend. 
30 Also `$(TBOX_CFLAGS)` and `$(TBOX_LDFLAGS)` variable if use pxprpc_tbox backend.