about summary refs log tree commit diff
path: root/Makefile
blob: 7773c493615635f0adec62e5d34c1ba174f228b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CFLAGS=-g -O2 -Wall -Wno-switch -Wextra -Wwrite-strings

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: