qse/ase/test/awk/makefile.in

17 lines
301 B
Makefile
Raw Normal View History

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
LIBS = @LIBS@ -lxpawk -lxpbas
all: $(OUTS)
clean:
rm -rf $(OUTS) *.o
.SUFFIXES: .c .x
.c.x:
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)