mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 18:29:53 +00:00
lang/c/msgpack: added C++ binding
git-svn-id: file:///Users/frsyuki/project/msgpack-git/svn/x@50 5a5092ae-2292-43ba-b2d5-dcab9c1a2731
This commit is contained in:
parent
9f460f17d7
commit
529a50633d
17 changed files with 1361 additions and 210 deletions
21
cpp/Makefile
Normal file
21
cpp/Makefile
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
|
||||
CXXFLAGS = -I.. -I. -Wall -g -O4
|
||||
LDFLAGS = -L.
|
||||
|
||||
NEED_PREPROCESS = zone.hpp
|
||||
|
||||
all: test
|
||||
|
||||
%.hpp: %.hpp.erb
|
||||
erb $< > $@
|
||||
|
||||
test: $(NEED_PREPROCESS) unpack.o unpack_inline.o zone.o test.o object.hpp unpack.hpp
|
||||
$(CXX) $(LDFLAGS) unpack.o unpack_inline.o zone.o test.o -o $@
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
$(RM) unpack.o unpack_inline.o zone.o
|
||||
$(RM) test.o
|
||||
$(RM) test
|
||||
$(RM) $(NEED_PREPROCESS)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue