2006-10-26 08:47:30 +00:00
|
|
|
SRCS = lsp.c name.c mem.c env.c err.c read.c eval.c print.c misc.c \
|
2005-09-20 12:06:51 +00:00
|
|
|
prim.c prim_prog.c prim_let.c prim_compar.c prim_math.c
|
2005-02-04 15:39:11 +00:00
|
|
|
OBJS = $(SRCS:.c=.o)
|
2006-10-24 04:31:07 +00:00
|
|
|
OUT = libaselsp.a
|
2005-02-04 15:39:11 +00:00
|
|
|
|
|
|
|
CC = @CC@
|
|
|
|
RANLIB = @RANLIB@
|
2006-10-22 13:10:46 +00:00
|
|
|
CFLAGS = @CFLAGS@ -I@abs_top_builddir@/..
|
2005-02-04 15:39:11 +00:00
|
|
|
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 $<
|