Add stupid tests.
[~madcoder/pwqr.git] / test / Makefile
diff --git a/test/Makefile b/test/Makefile
new file mode 100644 (file)
index 0000000..b008934
--- /dev/null
@@ -0,0 +1,9 @@
+all: test
+
+test: test.c
+       $(CC) -Wall -Werror -Wextra -Wno-unused-parameter -std=gnu99 $(CFLAGS) -O2 -g -lpthread -o $@ $<
+
+clean:
+       $(RM) test
+
+.PHONY: all clean