22 lines
371 B
Common Lisp
22 lines
371 B
Common Lisp
SRCS = awk.c tree.c parse.c run.c sa.c
|
|
OBJS = $(SRCS:.c=.obj)
|
|
OUT = xpawk.lib
|
|
|
|
CC = cl
|
|
#CFLAGS = /nologo /MT /W3 /GR- /D_WIN32_WINNT=0x0400 -I../..
|
|
CFLAGS = /nologo /MT /W3 /GR- /D_WIN32_WINNT=0x0400 -I../.. -D__STAND_ALONE
|
|
|
|
all: $(OBJS)
|
|
link -lib @<<
|
|
/nologo /out:$(OUT) $(OBJS)
|
|
<<
|
|
|
|
|
|
clean:
|
|
del $(OBJS) $(OUT) *.obj
|
|
|
|
.SUFFIXES: .c .obj
|
|
.c.obj:
|
|
$(CC) $(CFLAGS) /c $<
|
|
|