Making code ansi-compatible
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@944 e3a754e5-d11d-0410-8d38-ebb782a927b9
This commit is contained in:
11
tests/Makefile
Normal file
11
tests/Makefile
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user