2006-08-31 16:00:20 +00:00
|
|
|
SRCS = awk.c err.c tree.c str.c tab.c map.c parse.c \
|
2006-08-25 23:50:15 +00:00
|
|
|
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=.obj)
|
2005-11-05 17:21:39 +00:00
|
|
|
OUT = xpawk.lib
|
2005-09-30 09:40:15 +00:00
|
|
|
|
|
|
|
CC = bcc32
|
2006-08-25 23:50:15 +00:00
|
|
|
CFLAGS = -O2 -WM -w -w-inl -w-sig -w-spa -w-hid -RT- -I../.. -DXP_AWK_STAND_ALONE -DXP_CHAR_IS_WCHAR
|
2005-09-30 09:40:15 +00:00
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
tlib $(OUT) @&&!
|
|
|
|
+-$(**: = &^
|
|
|
|
+-)
|
|
|
|
!
|
|
|
|
|
|
|
|
clean:
|
|
|
|
del $(OBJS) $(OUT) *.obj
|
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
|