2005-05-19 16:41:10 +00:00
|
|
|
SRCS = \
|
|
|
|
stx.c memory.c object.c symbol.c hash.c misc.c context.c
|
|
|
|
OBJS = $(SRCS:.c=.obj)
|
|
|
|
OUT = xpstx.lib
|
|
|
|
|
2005-05-21 06:10:02 +00:00
|
|
|
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-21 06:10:02 +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 $<
|
|
|
|
|