2006-10-23 14:42:38 +00:00
|
|
|
SRCS = lsp.c name.c token.c array.c mem.c env.c err.c \
|
|
|
|
read.c eval.c print.c \
|
2005-09-20 12:06:51 +00:00
|
|
|
prim.c prim_prog.c prim_let.c prim_compar.c prim_math.c
|
2005-09-20 11:36:18 +00:00
|
|
|
OBJS = $(SRCS:.c=.obj)
|
2006-10-23 14:57:44 +00:00
|
|
|
OUT = sselsp.lib
|
2005-09-20 11:36:18 +00:00
|
|
|
|
|
|
|
CC = cl
|
2006-10-23 10:57:59 +00:00
|
|
|
LD = link
|
|
|
|
CFLAGS = /nologo /O2 /MT /W3 /GR- /Za -I../.. -DSSE_CHAR_IS_WCHAR
|
2005-09-20 11:36:18 +00:00
|
|
|
|
|
|
|
all: $(OBJS)
|
2006-10-23 10:57:59 +00:00
|
|
|
$(LD) -lib @<<
|
2005-09-20 11:36:18 +00:00
|
|
|
/nologo /out:$(OUT) $(OBJS)
|
|
|
|
<<
|
|
|
|
|
|
|
|
clean:
|
|
|
|
del $(OBJS) $(OUT) *.obj
|
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) /c $<
|
|
|
|
|