2006-10-26 08:47:30 +00:00
|
|
|
SRCS = lsp.c
|
2007-02-11 09:18:32 +00:00
|
|
|
OBJS = $(SRCS:.c=.o)
|
2005-02-05 05:03:05 +00:00
|
|
|
|
|
|
|
CC = @CC@
|
2007-02-11 09:18:32 +00:00
|
|
|
CFLAGS = @CFLAGS@ -I@abs_top_builddir@/..
|
2007-02-21 04:18:09 +00:00
|
|
|
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/lsp -L@abs_top_builddir@/utl
|
|
|
|
LIBS = @LIBS@ -laselsp -laseutl -lm
|
2005-02-05 05:03:05 +00:00
|
|
|
|
2007-02-11 09:18:32 +00:00
|
|
|
all: aselsp
|
|
|
|
|
|
|
|
aselsp: $(OBJS)
|
|
|
|
$(CC) -o $@ lsp.o $(LDFLAGS) $(LIBS)
|
2005-02-05 05:03:05 +00:00
|
|
|
|
|
|
|
clean:
|
2007-02-11 09:18:32 +00:00
|
|
|
rm -rf *.o aselsp
|
|
|
|
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
.c.o:
|
|
|
|
$(CC) -c $(CFLAGS) $<
|
2005-02-05 05:03:05 +00:00
|
|
|
|