21 lines
340 B
Plaintext
21 lines
340 B
Plaintext
SRCS = awk.c err.c tree.c tab.c map.c parse.c run.c sa.c val.c misc.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
|
|
|
|
all: $(OBJS)
|
|
tlib $(OUT) @&&!
|
|
+-$(**: = &^
|
|
+-)
|
|
!
|
|
|
|
clean:
|
|
del $(OBJS) $(OUT) *.obj
|
|
|
|
.SUFFIXES: .c .obj
|
|
.c.obj:
|
|
$(CC) $(CFLAGS) -c $<
|
|
|