diff options
author | Petteri Aimonen <jpa@npb.mail.kapsi.fi> | 2011-07-27 19:57:43 +0000 |
---|---|---|
committer | Petteri Aimonen <jpa@npb.mail.kapsi.fi> | 2011-07-27 19:57:43 +0000 |
commit | ead3b734d8f96837ea6564b694df5618134e3cf8 (patch) | |
tree | cbd466e8882650275fd992cf8183cb05ccba6d2f /tests/Makefile | |
parent | 84304b343a4b06a7918bc80ab45f08d1cae0b9cb (diff) |
Making code ansi-compatible
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@944 e3a754e5-d11d-0410-8d38-ebb782a927b9
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile new file mode 100644 index 00000000..da4030e2 --- /dev/null +++ b/tests/Makefile @@ -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 + |