qse/ase/test/stx/makefile.in

17 lines
301 B
Makefile

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