24 lines
320 B
Common Lisp
24 lines
320 B
Common Lisp
|
OUT = aseutl
|
||
|
|
||
|
C_SRCS = main.c ctype.c stdio.c
|
||
|
C_OBJS = $(C_SRCS:.c=.obj)
|
||
|
|
||
|
CC = cl
|
||
|
LD = link
|
||
|
|
||
|
CFLAGS = /nologo /O2 /MT /W3 /GR- /Za -I../.. -DNDEBUG
|
||
|
|
||
|
all: lib
|
||
|
|
||
|
lib: $(C_OBJS)
|
||
|
$(LD) /lib @<<
|
||
|
/nologo /out:$(OUT).lib $(C_OBJS)
|
||
|
<<
|
||
|
|
||
|
clean:
|
||
|
del $(OBJS) $(OUT).lib *.obj
|
||
|
|
||
|
.SUFFIXES: .c .obj
|
||
|
.c.obj:
|
||
|
$(CC) $(CFLAGS) /c $<
|