2006-01-30 17:50:38 +00:00
|
|
|
SRCS = awk.c tree.c tab.c hash.c parse.c run.c sa.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 $<
|