summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile11
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
+