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
|
|
|
|
LDFLAGS = /libpath:..\..\awk
|
|
|
|
LIBS = aseawk.lib kernel32.lib user32.lib
|
2006-01-12 12:42:10 +00:00
|
|
|
|
2006-09-01 03:44:51 +00:00
|
|
|
all: awk #rex2 rex3
|
2006-01-12 12:42:10 +00:00
|
|
|
|
|
|
|
awk: 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-07-19 11:45:24 +00:00
|
|
|
rex: rex.obj
|
|
|
|
link /nologo /out:rex.exe $(LDFLAGS) $(LIBS) rex.obj
|
|
|
|
|
2006-07-26 02:25:47 +00:00
|
|
|
rex2: rex2.obj
|
|
|
|
link /nologo /out:rex2.exe $(LDFLAGS) $(LIBS) rex2.obj
|
|
|
|
|
2006-08-16 11:54:22 +00:00
|
|
|
rex3: rex3.obj
|
|
|
|
link /nologo /out:rex3.exe $(LDFLAGS) $(LIBS) rex3.obj
|
|
|
|
|
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:
|
2006-07-19 11:45:24 +00:00
|
|
|
del $(OBJS) *.obj awk.exe rex.exe
|
2006-01-12 12:42:10 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) /c $(CFLAGS) $<
|
|
|
|
|