2006-03-04 15:54:37 +00:00
|
|
|
SRCS = awk.c err.c tree.c tab.c map.c parse.c run.c sa.c val.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 $<
|