summaryrefslogtreecommitdiff
path: root/libc/misc/regex/Makefile
blob: c6c8d8e5228b50874774855c1f7060d0eb49955d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
TOPDIR=../
include $(TOPDIR)Rules.make

LIBC=../libc.a

OBJ=rx.o

all: $(LIBC)

$(LIBC): $(LIBC)($(OBJ))

$(LIBC)(rx.o):	rx.c
	$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
	$(AR) $(ARFLAGS) $@ $*.o

clean:
	rm -f libc.a *.o core mon.out timer.t.h dMakefile dtr try timer