2005-05-19 16:41:10 +00:00
|
|
|
SRCS = \
|
2005-07-19 16:10:16 +00:00
|
|
|
stx.c memory.c object.c symbol.c dict.c misc.c context.c
|
2005-05-19 16:41:10 +00:00
|
|
|
OBJS = $(SRCS:.c=.obj)
|
|
|
|
OUT = xpstx.lib
|
|
|
|
|
2005-05-22 07:59:33 +00:00
|
|
|
TC = \dos\tcc
|
|
|
|
CC = $(TC)\tcc
|
2005-05-20 04:01:12 +00:00
|
|
|
CFLAGS = -I..\.. -D_DOS -ml -w
|
2005-05-19 16:41:10 +00:00
|
|
|
|
|
|
|
all: $(OBJS)
|
2005-05-22 07:59:33 +00:00
|
|
|
$(TC)\tlib $(OUT) @&&!
|
2005-05-19 16:41:10 +00:00
|
|
|
+-$(**: = &^
|
|
|
|
+-)
|
|
|
|
!
|
|
|
|
|
|
|
|
clean:
|
|
|
|
del $(OBJS) $(OUT) *.obj
|
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
|