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 \
|
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 $<
|