diff options
author | Petteri Aimonen <jpa@npb.mail.kapsi.fi> | 2011-08-04 16:49:32 +0000 |
---|---|---|
committer | Petteri Aimonen <jpa@npb.mail.kapsi.fi> | 2011-08-04 16:49:32 +0000 |
commit | a8d0172507d59b73b95f766aa7644147fd060f20 (patch) | |
tree | 56115021e9bed640e273851f0a99631163041bba /tests/Makefile | |
parent | 3959290bc77ae26772bc107128b0a4edd3930361 (diff) |
Encoder
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@951 e3a754e5-d11d-0410-8d38-ebb782a927b9
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Makefile b/tests/Makefile index 35c6f977..7450e1ed 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,14 +1,14 @@ CFLAGS=-ansi -Wall -Werror -I .. -g -O0 -DEPS=../pb_decode.c ../pb_decode.h ../pb.h person.h -TESTS=test_decode1 decode_unittests +DEPS=../pb_decode.c ../pb_decode.h ../pb_encode.c ../pb_encode.h ../pb.h person.h +TESTS=test_decode1 test_encode1 decode_unittests all: $(TESTS) clean: - rm -f test_decode1 + rm -f $(TESTS) %: %.c $(DEPS) - $(CC) $(CFLAGS) -o $@ $< ../pb_decode.c + $(CC) $(CFLAGS) -o $@ $< ../pb_decode.c ../pb_encode.c run_unittests: decode_unittests ./decode_unittests |