2006-09-01 06:23:58 +00:00
|
|
|
SRCS = awk.c err.c tree.c str.c tab.c map.c parse.c run.c val.c misc.c extio.c rex.c
|
2006-04-30 18:05:07 +00:00
|
|
|
OBJS = $(SRCS:.c=.obj)
|
|
|
|
OUT = xpawk.lib
|
|
|
|
|
|
|
|
CC = tcc
|
2006-05-01 05:03:07 +00:00
|
|
|
CFLAGS = -1 -O -mh -w -f87 -G -I..\.. -Ddos -DXP_AWK_STAND_ALONE
|
2006-04-30 18:05:07 +00:00
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
tlib $(OUT) @&&!
|
|
|
|
+-$(**: = &^
|
|
|
|
+-)
|
|
|
|
!
|
|
|
|
|
|
|
|
clean:
|
|
|
|
del $(OBJS) $(OUT) *.obj
|
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
|