*** empty log message ***

This commit is contained in:
hyung-hwan 2007-01-29 04:39:23 +00:00
parent dc4600bed3
commit 266d1f5413
2 changed files with 27 additions and 2 deletions

View File

@ -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;
@ -92,7 +92,7 @@ public class Awk extends ase.awk.StdAwk
//awk.setDebug (false);
//awk.setOption (awk.getOption() | OPTION_STRBASEONE);
System.out.println ("[" + awk.getOption() + "]");
System.out.println ("Option: [" + awk.getOption() + "]");
awk.parse ();
awk.run ();

View 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) $<