2006-08-31 16:00:20 +00:00
|
|
|
SRCS = awk.c err.c tree.c str.c tab.c map.c parse.c \
|
2006-10-03 14:43:38 +00:00
|
|
|
run.c rec.c val.c func.c misc.c extio.c rex.c
|
2005-09-30 09:40:15 +00:00
|
|
|
OBJS = $(SRCS:.c=.obj)
|
2006-10-22 11:46:18 +00:00
|
|
|
OUT = sseawk.lib
|
2005-09-30 09:40:15 +00:00
|
|
|
|
|
|
|
CC = bcc32
|
2006-10-22 11:46:18 +00:00
|
|
|
CFLAGS = -O2 -WM -w -w-inl -w-sig -w-spa -w-hid -RT- -I../..
|
2005-09-30 09:40:15 +00:00
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
tlib $(OUT) @&&!
|
|
|
|
+-$(**: = &^
|
|
|
|
+-)
|
|
|
|
!
|
|
|
|
|
|
|
|
clean:
|
2006-10-08 05:46:41 +00:00
|
|
|
-del $(OBJS) $(OUT) *.obj
|
2005-09-30 09:40:15 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
|