2006-01-12 12:42:10 +00:00
|
|
|
SRCS = awk.c
|
|
|
|
OUTS = $(SRCS:.c=.x)
|
|
|
|
|
|
|
|
CC = @CC@
|
|
|
|
CFLAGS = @CFLAGS@ -I@abs_top_builddir@
|
|
|
|
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/xp/bas -L@abs_top_builddir@/xp/awk
|
2006-08-26 15:28:08 +00:00
|
|
|
LIBS = @LIBS@ -lxpawk -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)
|