aboutsummaryrefslogtreecommitdiff
path: root/src/libregexp/Makefile
blob: 7fdd7f950566ff89a88184ac2145df1383e4c3b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
PLAN9=../..
include $(PLAN9)/src/Makehdr

LIB=libregexp9.a

OFILES=\
	regcomp.$O\
	regerror.$O\
	regexec.$O\
	regsub.$O\
	regaux.$O\
	rregaux.$O\
	rregexec.$O\
	rregsub.$O\

HFILES=\
	$(PLAN9)/include/regexp9.h\
	regcomp.h\

include $(PLAN9)/src/Makesyslib

test: test.$O $(LIB)
	$(CC) -o test test.$O $(LIB) -L/usr/local/lib -lfmt -lutf

test2: test2.$O $(LIB)
	$(CC) -o test2 test2.$O $(LIB) -L/usr/local/lib -lfmt -lutf