qse/ase/awk/makefile.in

22 lines
367 B
Makefile
Raw Normal View History

2006-08-26 15:28:08 +00:00
SRCS = awk.c err.c tree.c tab.c map.c parse.c \
run.c sa.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 $<