blob: b33045138c2b9ef79720342fac65ab2eff246375 (
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
28
|
TOP=..
include $(TOP)/Make.defs
OBJ=regexp.o regsub.o
LSRC=regexp.c regsub.c regerror.c
try: try.o $(OBJ)
$(CC) $(CFLAGS) try.o $(OBJ) -o try
# Regression test.
test: try tests
@echo 'No news is good news...'
try <tests
$(LIBC): $(OBJ)
ar r ../$(LIBC) $(OBJ)
@touch libc.a
transfer:
-@rm -f ../include/regexp.h ../include/regmagic.h
cp -p regexp.h regmagic.h ../include/.
regexp.o: regexp.c regexp.h regmagic.h
regsub.o: regsub.c regexp.h regmagic.h
clean:
rm -f libc.a *.o core mon.out timer.t.h dMakefile dtr try timer
|