2005-06-28 15:23:58 +00:00
|
|
|
SRCS = \
|
|
|
|
stx.c memory.c object.c symbol.c class.c \
|
2005-07-03 11:59:58 +00:00
|
|
|
hash.c misc.c context.c name.c token.c parser.c bootstrp.c
|
2005-06-28 15:23:58 +00:00
|
|
|
OBJS = $(SRCS:.c=.obj)
|
|
|
|
OUT = xpstx.lib
|
|
|
|
|
|
|
|
CC = cl
|
2005-07-03 16:37:01 +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 $<
|
|
|
|
|