diff options
Diffstat (limited to 'src/libregexp')
-rw-r--r-- | src/libregexp/Makefile | 27 | ||||
-rw-r--r-- | src/libregexp/mkfile | 27 |
2 files changed, 27 insertions, 27 deletions
diff --git a/src/libregexp/Makefile b/src/libregexp/Makefile deleted file mode 100644 index 7fdd7f95..00000000 --- a/src/libregexp/Makefile +++ /dev/null @@ -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 - diff --git a/src/libregexp/mkfile b/src/libregexp/mkfile new file mode 100644 index 00000000..8cb740cc --- /dev/null +++ b/src/libregexp/mkfile @@ -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 + |