* added compilers lcc and bcc (linux86)
[mascara-docs.git] / compilers / linux86-0.16.17 / libc / regexp / Makefile
bloba5ad0d847183cb13b9598572c405ac6d26202c3b
2 OBJ=regexp.o regsub.o
3 LSRC=regexp.c regsub.c regerror.c
5 CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
7 all: $(LIBC)
8 @$(RM) $(OBJ)
10 $(LIBC): $(LIBC)($(OBJ))
12 transfer:
13 -@rm -f ../include/regexp.h ../include/regmagic.h
14 cp -p regexp.h regmagic.h ../include/.
16 $(LIBC)(regexp.o): regexp.c regexp.h regmagic.h
17 $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
18 $(AR) $(ARFLAGS) $@ $*.o
20 $(LIBC)(regsub.o): regsub.c regexp.h regmagic.h
21 $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
22 $(AR) $(ARFLAGS) $@ $*.o
24 clean:
25 rm -f libc.a *.o core mon.out timer.t.h dMakefile dtr try timer
26 rm -f ../include/regexp.h ../include/regmagic.h