SRCS = lsp.c OBJS = $(SRCS:.c=.o) CC = @CC@ CFLAGS = @CFLAGS@ -I@abs_top_builddir@/.. LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/cmn -L@abs_top_builddir@/lsp -L@abs_top_builddir@/utl LIBS = @LIBS@ -laseutl -laselsp -lasecmn -lm all: aselsp aselsp: $(OBJS) $(CC) -o $@ lsp.o $(LDFLAGS) $(LIBS) clean: rm -rf *.o aselsp .SUFFIXES: .c .o .c.o: $(CC) -c $(CFLAGS) $<