about summary refs log tree commit diff
path: root/Makefile
blob: 71f87bd1c43ff61d245584c499ddeffaa151bbcc (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
	$(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: