about summary refs log tree commit diff
path: root/Makefile
blob: 458c6ea54bd04703f211de0e53fb19af3f48ab8f (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 steccpy.o steprn.o steprl.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: