qse/ase/test/awk/makefile.lnx.gcc

26 lines
467 B
Plaintext
Raw Normal View History

2007-01-29 04:39:23 +00:00
SRCS = awk.c
OBJS = $(SRCS:.c=.o)
CC = gcc
2007-02-01 07:24:00 +00:00
CFLAGS = -O2 -Wall -D_REENTRANT -D_THREAD_SAFE -fPIC -I../../..
2007-02-24 14:32:44 +00:00
LDFLAGS = -L../../cmn -L../../awk -L../../utl
LIBS = -lasecmn -laseawk -laseutl -lm
2007-01-29 04:39:23 +00:00
2007-02-08 03:54:18 +00:00
all: aseawk
2007-01-29 04:39:23 +00:00
2007-02-08 03:54:18 +00:00
aseawk: $(OBJS)
2007-01-29 04:39:23 +00:00
$(CC) -o $@ awk.o $(LDFLAGS) $(LIBS)
java:
javac -classpath ../../.. Awk.java AwkApplet.java
jrun:
java -Xms1m -Xmx2m -classpath ../../.. ase.test.awk.Awk
clean:
2007-02-08 03:54:18 +00:00
rm -rf *.o *.class aseawk
2007-01-29 04:39:23 +00:00
.SUFFIXES: .c .o
.c.o:
$(CC) -c $(CFLAGS) $<