*** empty log message ***
This commit is contained in:
parent
dc4600bed3
commit
266d1f5413
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: Awk.java,v 1.22 2007-01-25 14:14:56 bacon Exp $
|
* $Id: Awk.java,v 1.23 2007-01-29 04:39:22 bacon Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package ase.test.awk;
|
package ase.test.awk;
|
||||||
@ -92,7 +92,7 @@ public class Awk extends ase.awk.StdAwk
|
|||||||
//awk.setDebug (false);
|
//awk.setDebug (false);
|
||||||
|
|
||||||
//awk.setOption (awk.getOption() | OPTION_STRBASEONE);
|
//awk.setOption (awk.getOption() | OPTION_STRBASEONE);
|
||||||
System.out.println ("[" + awk.getOption() + "]");
|
System.out.println ("Option: [" + awk.getOption() + "]");
|
||||||
|
|
||||||
awk.parse ();
|
awk.parse ();
|
||||||
awk.run ();
|
awk.run ();
|
||||||
|
25
ase/test/awk/makefile.lnx.gcc
Normal file
25
ase/test/awk/makefile.lnx.gcc
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
SRCS = awk.c
|
||||||
|
OBJS = $(SRCS:.c=.o)
|
||||||
|
|
||||||
|
CC = gcc
|
||||||
|
CFLAGS = -g -O2 -D_REENTRANT -D_THREAD_SAFE -I../../..
|
||||||
|
LDFLAGS = -L../../awk
|
||||||
|
LIBS = -laseawk -lm
|
||||||
|
|
||||||
|
all: awk
|
||||||
|
|
||||||
|
awk: $(OBJS)
|
||||||
|
$(CC) -o $@ awk.o $(LDFLAGS) $(LIBS)
|
||||||
|
|
||||||
|
java:
|
||||||
|
javac -classpath ../../.. Awk.java AwkApplet.java
|
||||||
|
|
||||||
|
jrun:
|
||||||
|
java -Xms1m -Xmx2m -classpath ../../.. ase.test.awk.Awk
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf *.o *.class awk
|
||||||
|
|
||||||
|
.SUFFIXES: .c .o
|
||||||
|
.c.o:
|
||||||
|
$(CC) -c $(CFLAGS) $<
|
Loading…
Reference in New Issue
Block a user