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
|
|
|
|
|
|
|
|
CC = c:\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)
|
|
|
|
c:\tc\tlib $(OUT) @&&!
|
|
|
|
+-$(**: = &^
|
|
|
|
+-)
|
|
|
|
!
|
|
|
|
|
|
|
|
clean:
|
|
|
|
del $(OBJS) $(OUT) *.obj
|
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
|