qse/ase/stx/makefile.in

29 lines
503 B
Makefile
Raw Normal View History

2007-03-22 11:21:59 +00:00
OUT = asestx
C_SRCS = stx.c memory.c object.c symbol.c class.c array.c \
2005-08-15 16:03:57 +00:00
dict.c misc.c context.c name.c token.c parser.c bootstrp.c \
bytecode.c interp.c
2007-03-22 11:21:59 +00:00
C_OBJS = $(C_SRCS:.c=.o)
2005-05-08 10:39:40 +00:00
CC = @CC@
2007-03-22 11:21:59 +00:00
AR = ar
2005-05-08 10:39:40 +00:00
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@
2007-03-22 11:21:59 +00:00
all: lib
lib: $(C_OBJS)
$(AR) cr lib$(OUT).a $(C_OBJS)
if [ "$(RANLIB)" = "ranlib" ]; then ranlib lib$(OUT).a; fi
2005-05-08 10:39:40 +00:00
clean:
2007-03-22 11:21:59 +00:00
rm -rf $(OBJS) lib$(OUT).a *.o
2005-05-08 10:39:40 +00:00
.SUFFIXES: .c .o
.c.o:
$(CC) $(CFLAGS) -c $<
2007-03-22 11:21:59 +00:00