Making code ansi-compatible

git-svn-id: https://svn.kapsi.fi/jpa/nanopb@944 e3a754e5-d11d-0410-8d38-ebb782a927b9
This commit is contained in:
Petteri Aimonen
2011-07-27 19:57:43 +00:00
parent 84304b343a
commit ead3b734d8
5 changed files with 176 additions and 141 deletions

11
tests/Makefile Normal file
View File

@@ -0,0 +1,11 @@
CFLAGS=-ansi -pedantic -Wall -I .. -g -O0
DEPS=../pb_decode.c ../pb_decode.h ../pb.h
all: test_decode1
clean:
rm -f test_decode1
test_decode1: test_decode1.c $(DEPS)
$(CC) $(CFLAGS) -o $@ $< ../pb_decode.c