2006-08-31 16:00:20 +00:00
|
|
|
SRCS = awk.c err.c tree.c str.c tab.c map.c parse.c \
|
2006-09-01 06:23:58 +00:00
|
|
|
run.c val.c func.c misc.c extio.c rex.c
|
2005-09-30 09:40:15 +00:00
|
|
|
OBJS = $(SRCS:.c=.o)
|
2005-11-05 17:21:39 +00:00
|
|
|
OUT = libxpawk.a
|
2005-09-30 09:40:15 +00:00
|
|
|
|
|
|
|
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 $<
|