about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0be968b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+all: libste.a example
+
+libste.a: stechr.o stecpe.o stecpy.o steprn.o
+	$(AR) $(ARFLAGS) $@ $^
+
+example: example.o libste.a
+
+tests: tests.o libste.a
+
+check: tests FRC
+	prove -v ./tests
+
+README: libste.3
+	mandoc -Tutf8 $^ | col -bx >$@
+
+
+clean: FRC
+	rm -f *.o *.a example tests
+
+FRC: