2006-10-24 15:10:25 +00:00
|
|
|
OUT = aselsp
|
|
|
|
|
2006-10-26 08:47:30 +00:00
|
|
|
SRCS = lsp.c name.c mem.c env.c err.c read.c eval.c print.c misc.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)
|
|
|
|
|
|
|
|
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
|
|
|
|
2006-10-24 15:10:25 +00:00
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(OBJS)
|
2006-10-23 10:57:59 +00:00
|
|
|
$(LD) -lib @<<
|
2006-10-24 15:10:25 +00:00
|
|
|
/nologo /out:$(OUT).lib $(OBJS)
|
2005-09-20 11:36:18 +00:00
|
|
|
<<
|
|
|
|
|
|
|
|
clean:
|
|
|
|
del $(OBJS) $(OUT) *.obj
|
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) /c $<
|
|
|
|
|