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)
|
|
|
|
OUT = libxpawk.a
|
|
|
|
|
|
|
|
CC = cc
|
2006-04-16 04:31:38 +00:00
|
|
|
CFLAGS = -Xc -a ansi -w3 -O2 -I../.. -DXP_AWK_STAND_ALONE
|
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
|
|
|
|
|
|
|
|