2005-09-19 16:13:18 +00:00
|
|
|
SRCS = name.c token.c array.c mem.c env.c error.c \
|
2005-09-19 12:04:00 +00:00
|
|
|
init.c read.c eval.c print.c \
|
|
|
|
prim.c prim_prog.c prim_let.c
|
2005-02-04 15:39:11 +00:00
|
|
|
OBJS = $(SRCS:.c=.o)
|
2005-09-19 03:05:37 +00:00
|
|
|
OUT = libxplsp.a
|
2005-02-04 15:39:11 +00:00
|
|
|
|
|
|
|
CC = @CC@
|
|
|
|
RANLIB = @RANLIB@
|
|
|
|
CFLAGS = @CFLAGS@ -I@abs_top_builddir@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS = @LIBS@
|
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
ar cr $(OUT) $(OBJS)
|
|
|
|
ranlib $(OUT)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(OBJS) $(OUT) *.o
|
|
|
|
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
.c.o:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|