qse/ase/awk/makefile.in

22 lines
378 B
Makefile
Raw Normal View History

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@
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)
ar cr $(OUT) $(OBJS)
ranlib $(OUT)
clean:
rm -rf $(OBJS) $(OUT) *.o
.SUFFIXES: .c .o
.c.o:
$(CC) $(CFLAGS) -c $<