2006-10-03 14:43:38 +00:00
|
|
|
SRCS = awk.c err.c tree.c str.c tab.c map.c parse.c \
|
|
|
|
run.c rec.c val.c func.c misc.c extio.c
|
2006-04-14 10:56:42 +00:00
|
|
|
OBJS = $(SRCS:.c=.o)
|
2006-10-22 11:46:18 +00:00
|
|
|
OUT = libsseawk.a
|
2006-04-14 10:56:42 +00:00
|
|
|
|
|
|
|
CC = cc
|
2006-10-22 11:46:18 +00:00
|
|
|
CFLAGS = -Xc -a ansi -w3 -O2 -I../..
|
2006-04-14 10:56:42 +00:00
|
|
|
|
|
|
|
all: $(OBJS)
|
2006-04-14 11:13:06 +00:00
|
|
|
ar cr $(OUT) $(OBJS)
|
2006-04-14 10:56:42 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(OBJS) $(OUT) *.obj
|
|
|
|
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
.c.o:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
|
2006-06-30 06:09:38 +00:00
|
|
|
|
|
|
|
|