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@
|
2006-12-05 03:38:11 +00:00
|
|
|
AR = ar
|
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)
|
2006-12-05 03:38:11 +00:00
|
|
|
$(AR) cr $(OUT) $(OBJS)
|
2005-02-04 15:39:11 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(OBJS) $(OUT) *.o
|
|
|
|
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
.c.o:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|