21 lines
287 B
Common Lisp
21 lines
287 B
Common Lisp
SRCS = awk.c parse.c tree.c
|
|
OBJS = $(SRCS:.c=.obj)
|
|
OUT = xpawk.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 $<
|
|
|