1
# Makefile for TinyScheme's extension library "re" (regular expressions)
2
# Time-stamp: <2002-06-24 14:13:42 gildea>
13
# LDFLAGS = -debug -map -dll -incremental:no
18
DEBUG=-g -Wall -Wno-char-subscripts -O
29
# LD = /usr/ccs/bin/ld
30
## -Bsymbolic nec. because we have fns w same name as in libc.
31
# LDFLAGS = -G -Bsymbolic -z text
34
SRCS = re.c debug.c regcomp.c regerror.c regexec.c regfree.c split.c
35
OBJS = $(SRCS:.c=.$(Osuf))
40
$(CC) -c $(DEBUG) -DUSE_DL -I. -I$(SCHEME_H_DIR) $+
43
$(LD) $(LDFLAGS) $(OUT) $+ $(SYS_LIBS)
46
-rm -f $(OBJS) re.$(SOsuf)