2006-08-31 16:00:20 +00:00
|
|
|
SRCS = awk.c err.c tree.c str.c tab.c map.c parse.c \
|
2006-10-03 14:43:38 +00:00
|
|
|
run.c rec.c val.c func.c misc.c extio.c rex.c
|
2005-09-30 09:40:15 +00:00
|
|
|
OBJS = $(SRCS:.c=.o)
|
2006-10-24 04:31:07 +00:00
|
|
|
OUT = libaseawk.a
|
2005-09-30 09:40:15 +00:00
|
|
|
|
|
|
|
CC = @CC@
|
2006-12-05 03:24:04 +00:00
|
|
|
AR = ar
|
2006-12-05 03:32:22 +00:00
|
|
|
RANLIB = @RANLIB@
|
2006-10-22 11:59:55 +00:00
|
|
|
CFLAGS = @CFLAGS@ -I@abs_top_builddir@/..
|
2005-09-30 09:40:15 +00:00
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS = @LIBS@
|
|
|
|
|
|
|
|
all: $(OBJS)
|
2006-12-05 03:24:04 +00:00
|
|
|
$(AR) cr $(OUT) $(OBJS)
|
2005-09-30 09:40:15 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(OBJS) $(OUT) *.o
|
|
|
|
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
.c.o:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|