2006-01-12 12:42:10 +00:00
|
|
|
SRCS = awk.c
|
|
|
|
OUTS = $(SRCS:.c=.x)
|
|
|
|
|
|
|
|
CC = @CC@
|
2006-10-22 12:39:30 +00:00
|
|
|
CFLAGS = @CFLAGS@ -I@abs_top_builddir@/.. -I$(XPKIT)
|
|
|
|
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/awk -L$(XPKIT)/xp/bas
|
2006-11-13 09:11:09 +00:00
|
|
|
LIBS = @LIBS@ -laseawk -lxpbas -lm
|
2006-01-12 12:42:10 +00:00
|
|
|
|
|
|
|
all: $(OUTS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(OUTS) *.o
|
|
|
|
|
|
|
|
.SUFFIXES: .c .x
|
|
|
|
.c.x:
|
|
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)
|