2005-08-15 16:03:57 +00:00
|
|
|
SRCS = stx.c memory.c object.c symbol.c class.c array.c \
|
|
|
|
dict.c misc.c context.c name.c token.c parser.c bootstrp.c \
|
|
|
|
bytecode.c interp.c
|
2005-05-08 10:39:40 +00:00
|
|
|
OBJS = $(SRCS:.c=.o)
|
|
|
|
OUT = libxpstx.a
|
|
|
|
|
|
|
|
CC = @CC@
|
|
|
|
RANLIB = @RANLIB@
|
2006-10-22 13:10:46 +00:00
|
|
|
CFLAGS = @CFLAGS@ -I@abs_top_builddir@/..
|
2005-05-08 10:39:40 +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 $<
|