25 lines
390 B
Common Lisp
25 lines
390 B
Common Lisp
|
OUT = aselsp
|
||
|
|
||
|
SRCS = lsp.c name.c mem.c env.c err.c read.c eval.c print.c misc.c \
|
||
|
prim.c prim_prog.c prim_let.c prim_compar.c prim_math.c
|
||
|
OBJS = $(SRCS:.c=.obj)
|
||
|
|
||
|
CC = cl
|
||
|
LD = link
|
||
|
CFLAGS = /nologo /O2 /MT /W3 /GR- /Za -I../..
|
||
|
|
||
|
all: lib
|
||
|
|
||
|
lib: $(OBJS)
|
||
|
$(LD) -lib @<<
|
||
|
/nologo /out:$(OUT).lib $(OBJS)
|
||
|
<<
|
||
|
|
||
|
clean:
|
||
|
del $(OBJS) $(OUT) *.obj
|
||
|
|
||
|
.SUFFIXES: .c .obj
|
||
|
.c.obj:
|
||
|
$(CC) $(CFLAGS) /c $<
|
||
|
|