2006-11-14 09:30:46 +00:00
|
|
|
|
|
|
|
# ilink32.exe link.exe
|
|
|
|
# -aa /subsystem:windows
|
|
|
|
# -ap /subsystem:console
|
|
|
|
# -ad /subsystem:native
|
2006-11-14 10:24:20 +00:00
|
|
|
#
|
|
|
|
# -Tpe
|
|
|
|
# -Tpd /dll
|
2006-11-14 09:30:46 +00:00
|
|
|
|
2006-01-12 12:42:10 +00:00
|
|
|
CC = bcc32
|
2006-10-27 10:56:03 +00:00
|
|
|
LD = ilink32
|
2006-11-14 09:21:38 +00:00
|
|
|
CFLAGS = -O2 -WM -WU -RT- -w -I..\..\..
|
2007-02-23 08:54:03 +00:00
|
|
|
LDFLAGS = -ap -Tpe -Gn -c -L..\..\awk -L..\..\cmn -L..\..\utl
|
|
|
|
LIBS = import32.lib cw32mt.lib aseawk.lib asecmn.lib aseutl.lib
|
2006-01-12 12:42:10 +00:00
|
|
|
STARTUP = c0x32w.obj
|
|
|
|
|
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
|
|
|
$(LD) $(LDFLAGS) $(STARTUP) awk.obj,$@.exe,,$(LIBS),,
|
2006-01-12 12:42:10 +00:00
|
|
|
|
2006-11-21 15:06:51 +00:00
|
|
|
java:
|
2006-11-26 16:17:51 +00:00
|
|
|
javac -classpath ../../.. Awk.java AwkApplet.java
|
2006-11-21 15:06:51 +00:00
|
|
|
|
|
|
|
jrun:
|
2006-11-26 16:17:51 +00:00
|
|
|
java -Xms1m -Xmx2m -classpath ../../.. ase.test.awk.Awk
|
2006-11-21 15:06:51 +00:00
|
|
|
|
2006-01-12 12:42:10 +00:00
|
|
|
clean:
|
2007-02-08 03:54:18 +00:00
|
|
|
del $(OBJS) *.obj *.class aseawk.exe
|
2006-01-12 12:42:10 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
|