2005-06-28 15:23:58 +00:00
|
|
|
SRCS = \
|
2005-08-15 16:03:57 +00:00
|
|
|
stx.c memory.c object.c symbol.c class.c array.c \
|
2005-08-18 15:16:39 +00:00
|
|
|
dict.c misc.c name.c token.c parser.c bootstrp.c \
|
2005-08-15 16:03:57 +00:00
|
|
|
bytecode.c interp.c
|
2005-06-28 15:23:58 +00:00
|
|
|
OBJS = $(SRCS:.c=.obj)
|
|
|
|
OUT = xpstx.lib
|
|
|
|
|
|
|
|
CC = cl
|
2007-04-28 21:31:31 +00:00
|
|
|
CFLAGS = /nologo /MT /GX /W3 /GR- /D_WIN32_WINNT=0x0400 -I../..
|
2005-06-28 15:23:58 +00:00
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
link -lib @<<
|
|
|
|
/nologo /out:$(OUT) $(OBJS)
|
|
|
|
<<
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
del $(OBJS) $(OUT) *.obj
|
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) /c $<
|
|
|
|
|