aboutsummaryrefslogtreecommitdiffstats
path: root/propagate/src/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'propagate/src/tests/Makefile')
-rw-r--r--propagate/src/tests/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/propagate/src/tests/Makefile b/propagate/src/tests/Makefile
new file mode 100644
index 0000000..6f81535
--- /dev/null
+++ b/propagate/src/tests/Makefile
@@ -0,0 +1,23 @@
+TEST_EXPLODE = test_explode
+TEST_B64 = test_base64
+CFLAGS = -g -Wall -std=c99
+LDFLAGS =
+
+all: $(TEST_EXPLODE) $(TEST_B64)
+
+%.o: %.c
+ $(CC) -o $@ -c $< $(CFLAGS) $(LDFLAGS) -I../
+
+$(TEST_EXPLODE): test_explode.o ../libihf.o
+ $(CC) test_explode.o ../libihf.o -o $(TEST_EXPLODE) $(LDFLAGS) $(CFLAGS) -I../
+
+$(TEST_B64): test_base64.o ../base64.o
+ $(CC) test_base64.o ../base64.o -o $(TEST_B64) $(LDFLAGS) $(CFLAGS) -I../
+
+.PHONY: clean mrproper
+
+mrproper: clean
+
+clean:
+ rm -f $(TEST_EXPLODE) $(TEST_B64) *~ *.o
+