2006-03-04 15:54:37 +00:00
|
|
|
SRCS = awk.c err.c tree.c tab.c map.c parse.c run.c sa.c val.c
|
2005-09-30 09:40:15 +00:00
|
|
|
OBJS = $(SRCS:.c=.obj)
|
2005-11-05 17:21:39 +00:00
|
|
|
OUT = xpawk.lib
|
2005-09-30 09:40:15 +00:00
|
|
|
|
|
|
|
CC = cl
|
2006-01-18 15:16:01 +00:00
|
|
|
#CFLAGS = /nologo /MT /W3 /GR- /D_WIN32_WINNT=0x0400 -I../..
|
2006-03-29 16:39:04 +00:00
|
|
|
CFLAGS = /nologo /MT /W3 /GR- /D_WIN32_WINNT=0x0400 -I../.. -D__STAND_ALONE -DXP_CHAR_IS_WCHAR
|
2005-09-30 09:40:15 +00:00
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
link -lib @<<
|
|
|
|
/nologo /out:$(OUT) $(OBJS)
|
|
|
|
<<
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
del $(OBJS) $(OUT) *.obj
|
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) /c $<
|
|
|
|
|