22 lines
389 B
Plaintext
22 lines
389 B
Plaintext
SRCS = awk.c err.c tree.c str.c tab.c map.c parse.c \
|
|
run.c sa.c val.c func.c misc.c extio.c rex.c
|
|
OBJS = $(SRCS:.c=.obj)
|
|
OUT = xpawk.lib
|
|
|
|
CC = bcc32
|
|
CFLAGS = -O2 -WM -w -w-inl -w-sig -w-spa -w-hid -RT- -I../.. -DXP_AWK_STAND_ALONE -DXP_CHAR_IS_WCHAR
|
|
|
|
all: $(OBJS)
|
|
tlib $(OUT) @&&!
|
|
+-$(**: = &^
|
|
+-)
|
|
!
|
|
|
|
clean:
|
|
del $(OBJS) $(OUT) *.obj
|
|
|
|
.SUFFIXES: .c .obj
|
|
.c.obj:
|
|
$(CC) $(CFLAGS) -c $<
|
|
|