qse/ase/test/awk/makefile.msw.cl

36 lines
646 B
Common Lisp
Raw Normal View History

2006-01-12 12:42:10 +00:00
CC = cl
2006-10-27 10:34:40 +00:00
CFLAGS = /nologo /MT /W3 /GR- -I..\..\.. -D_WIN32_WINNT=0x0400
2007-02-21 04:18:09 +00:00
LDFLAGS = /libpath:..\..\awk /libpath:..\..\utl
LIBS = aseawk.lib aseutl.lib kernel32.lib user32.lib
2006-01-12 12:42:10 +00:00
2007-02-07 14:51:44 +00:00
!if !defined(CPU) || "$(CPU)" == ""
CPU = $(PROCESSOR_ARCHITECTURE)
2007-02-08 03:54:18 +00:00
!endif
2007-02-07 14:51:44 +00:00
!if "$(CPU)" == ""
CPU = i386
!endif
2007-02-08 03:54:18 +00:00
!if "$(CPU)" == "IA64" || "$(CPU)" == "AMD64"
2007-02-07 14:51:44 +00:00
LIBS = $(LIBS) bufferoverflowu.lib
!endif
2007-02-08 03:54:18 +00:00
all: aseawk
2006-01-12 12:42:10 +00:00
2007-02-08 03:54:18 +00:00
aseawk: awk.obj
2006-11-19 06:15:58 +00:00
link /nologo /out:$@.exe $(LDFLAGS) $(LIBS) awk.obj
2006-01-12 12:42:10 +00:00
2006-10-24 06:06:16 +00:00
java:
javac -classpath ../../.. Awk.java
jrun:
java -classpath ../../.. ase.test.awk.Awk
2006-08-16 11:54:22 +00:00
2006-01-12 12:42:10 +00:00
clean:
2007-02-08 03:54:18 +00:00
del $(OBJS) *.obj aseawk.exe
2006-01-12 12:42:10 +00:00
.SUFFIXES: .c .obj
.c.obj:
$(CC) /c $(CFLAGS) $<