23 lines
418 B
Makefile
23 lines
418 B
Makefile
SRCS = name.c token.c array.c mem.c env.c error.c \
|
|
init.c read.c eval.c print.c \
|
|
prim.c prim_prog.c prim_let.c prim_compar.c prim_math.c
|
|
OBJS = $(SRCS:.c=.o)
|
|
OUT = libaselsp.a
|
|
|
|
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 $<
|