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