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..\..\..
|
2006-11-14 10:24:20 +00:00
|
|
|
LDFLAGS = -ap -Tpe -Gn -c -L..\..\awk -L"c:\program files\borland\bds\4.0\lib"
|
2006-10-27 10:56:03 +00:00
|
|
|
LIBS = import32.lib cw32mt.lib aseawk.lib
|
2006-01-12 12:42:10 +00:00
|
|
|
STARTUP = c0x32w.obj
|
|
|
|
|
|
|
|
all: awk
|
|
|
|
|
|
|
|
awk: 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:
|
|
|
|
javac -classpath ../../.. Awk.java
|
|
|
|
|
|
|
|
jrun:
|
|
|
|
java -Xms1m -Xmx2m -classpath ../../.. ase.test.awk.Awk
|
|
|
|
|
2006-01-12 12:42:10 +00:00
|
|
|
clean:
|
2006-11-21 15:06:51 +00:00
|
|
|
del $(OBJS) *.obj *.class awk.exe
|
2006-01-12 12:42:10 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .c .obj
|
|
|
|
.c.obj:
|
|
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
|