SRCS = \ stx.c memory.c object.c symbol.c class.c \ dict.c misc.c context.c name.c token.c parser.c bootstrp.c OBJS = $(SRCS:.c=.obj) OUT = xpstx.lib CC = cl CFLAGS = /nologo /MT /GX /W3 /GR- /D_WIN32_WINNT=0x0400 -I../.. all: $(OBJS) link -lib @<< /nologo /out:$(OUT) $(OBJS) << clean: del $(OBJS) $(OUT) *.obj .SUFFIXES: .c .obj .c.obj: $(CC) $(CFLAGS) /c $<