some compile cleanup
This commit is contained in:
parent
36348a2375
commit
232cef8ffa
3 changed files with 3 additions and 9595 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,3 +2,4 @@
|
||||||
*.so
|
*.so
|
||||||
/capn-test
|
/capn-test
|
||||||
/capnpc-c
|
/capnpc-c
|
||||||
|
*~
|
||||||
|
|
|
||||||
4
Makefile
4
Makefile
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
LDFLAGS=-O2 -Wall -Werror -fPIC
|
LDFLAGS=-O2 -Wall -Werror -fPIC
|
||||||
CFLAGS=-O2 -Wall -Werror -fPIC -I. -Wno-unused-function
|
CFLAGS=-O2 -Wall -Werror -fPIC -I. -Wno-unused-function
|
||||||
GTEST_CFLAGS=-I../gtest/include
|
GTEST_CFLAGS=-I../gtest/include -I../gtest
|
||||||
|
|
||||||
all: capn.so capnpc-c test
|
all: capn.so capnpc-c test
|
||||||
|
|
||||||
|
|
@ -22,7 +22,7 @@ test: capn-test
|
||||||
./capn-test
|
./capn-test
|
||||||
|
|
||||||
%-test.o: %-test.cpp *.h *.c *.inc
|
%-test.o: %-test.cpp *.h *.c *.inc
|
||||||
$(CXX) -g -Wall -Werror -I. $(GTEST_CFLAGS) -o $@ -c $<
|
$(CXX) -g -Wall -I. $(GTEST_CFLAGS) -o $@ -c $<
|
||||||
|
|
||||||
capn-test: capn-test.o capn-stream-test.o compiler/test.capnp.o compiler/schema-test.o compiler/schema.capnp.o gtest-all-test.o
|
capn-test: capn-test.o capn-stream-test.o compiler/test.capnp.o compiler/schema-test.o compiler/schema.capnp.o gtest-all-test.o
|
||||||
$(CXX) -g -Wall -Werror -I. -o $@ $^
|
$(CXX) -g -Wall -Werror -I. -o $@ $^
|
||||||
|
|
|
||||||
9593
gtest-all-test.cpp
9593
gtest-all-test.cpp
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue