some compile cleanup
This commit is contained in:
parent
36348a2375
commit
232cef8ffa
3 changed files with 3 additions and 9595 deletions
4
Makefile
4
Makefile
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
LDFLAGS=-O2 -Wall -Werror -fPIC
|
||||
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
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ test: capn-test
|
|||
./capn-test
|
||||
|
||||
%-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
|
||||
$(CXX) -g -Wall -Werror -I. -o $@ $^
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue