qse/ase/lsp/makefile.in

27 lines
487 B
Makefile
Raw Normal View History

2007-02-21 04:18:09 +00:00
OUT = aselsp
C_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
2007-02-21 04:18:09 +00:00
C_OBJS = $(C_SRCS:.c=.o)
2005-02-04 15:39:11 +00:00
CC = @CC@
2006-12-05 03:38:11 +00:00
AR = ar
2007-02-21 04:18:09 +00:00
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@
2007-02-21 04:18:09 +00:00
all: lib
lib: $(C_OBJS)
$(AR) cr lib$(OUT).a $(C_OBJS)
if [ "$(RANLIB)" = "ranlib" ]; then ranlib lib$(OUT).a; fi
2005-02-04 15:39:11 +00:00
clean:
2007-02-21 04:18:09 +00:00
rm -rf $(OBJS) lib$(OUT).a *.o
2005-02-04 15:39:11 +00:00
.SUFFIXES: .c .o
.c.o:
$(CC) $(CFLAGS) -c $<
2007-02-21 04:18:09 +00:00