about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2021-11-05 18:52:11 +0100
committerLeah Neukirchen <leah@vuxu.org>2021-11-05 18:52:46 +0100
commit75ea20675d012e692996bc6beae9149b0deb08b0 (patch)
treeab1569403e1c5f8e76f5f93f969a3335275c54a5 /Makefile
downloadlibste-75ea20675d012e692996bc6beae9149b0deb08b0.tar.gz
libste-75ea20675d012e692996bc6beae9149b0deb08b0.tar.xz
libste-75ea20675d012e692996bc6beae9149b0deb08b0.zip
initial commit
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: