2006-10-08 05:46:41 +00:00
|
|
|
#
|
|
|
|
# makefile for turbo c 2.0
|
|
|
|
#
|
|
|
|
|
2006-10-03 14:43:38 +00:00
|
|
|
SRCS = awk.c err.c tree.c str.c tab.c map.c parse.c \
|
|
|
|
run.c rec.c val.c misc.c extio.c rex.c
|
2006-10-08 05:46:41 +00:00
|
|
|
OBJS = awk.obj err.obj tree.obj str.obj tab.obj map.obj parse.obj \
|
|
|
|
run.obj rec.obj val.obj misc.obj extio.obj rex.obj
|
2006-04-30 18:05:07 +00:00
|
|
|
OUT = xpawk.lib
|
|
|
|
|
|
|
|
CC = tcc
|
2006-10-08 05:46:41 +00:00
|
|
|
AR = tlib
|
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)
|
2006-10-08 05:46:41 +00:00
|
|
|
-del $(OUT)
|
|
|
|
$(AR) $(OUT) +awk.obj
|
|
|
|
$(AR) $(OUT) +err.obj
|
|
|
|
$(AR) $(OUT) +tree.obj
|
|
|
|
$(AR) $(OUT) +str.obj
|
|
|
|
$(AR) $(OUT) +tab.obj
|
|
|
|
$(AR) $(OUT) +map.obj
|
|
|
|
$(AR) $(OUT) +parse.obj
|
|
|
|
$(AR) $(OUT) +run.obj
|
|
|
|
$(AR) $(OUT) +rec.obj
|
|
|
|
$(AR) $(OUT) +val.obj
|
|
|
|
$(AR) $(OUT) +misc.obj
|
|
|
|
$(AR) $(OUT) +extio.obj
|
|
|
|
$(AR) $(OUT) +rex.obj
|
2006-04-30 18:05:07 +00:00
|
|
|
|
|
|
|
clean:
|
2006-10-08 05:46:41 +00:00
|
|
|
-del *.obj
|
|
|
|
-del $(OUT)
|
2006-04-30 18:05:07 +00:00
|
|
|
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
|