2005-09-11 15:15:35 +00:00
|
|
|
SRCS = stx.c memory.c object.c symbol.c class.c dict.c misc.c array.c \
|
|
|
|
name.c token.c parser.c bootstrp.c bytecode.c interp.c
|
2005-05-18 16:05:34 +00:00
|
|
|
OBJS = $(SRCS:.c=.obj)
|
|
|
|
OUT = xpstx.lib
|
|
|
|
|
|
|
|
CC = bcc32
|
|
|
|
CFLAGS = -O2 -WM -w -w-inl -w-sig -w-spa -w-hid -RT- -I../..
|
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
tlib $(OUT) @&&!
|
|
|
|
+-$(**: = &^
|
|
|
|
+-)
|
|
|
|
!
|
|
|
|
|
|
|
|
clean:
|
|
|
|
del $(OBJS) $(OUT) *.obj
|
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
|