make -> mk
This commit is contained in:
parent
db6608bd81
commit
99947423b1
20 changed files with 54 additions and 191 deletions
|
|
@ -1,27 +0,0 @@
|
|||
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
|
||||
|
||||
27
src/libregexp/mkfile
Normal file
27
src/libregexp/mkfile
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
PLAN9=../..
|
||||
<$PLAN9/src/mkhdr
|
||||
|
||||
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\
|
||||
|
||||
<$PLAN9/src/mksyslib
|
||||
|
||||
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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue