2007-03-24 05:02:52 +00:00
|
|
|
#
|
2007-03-25 15:03:25 +00:00
|
|
|
# $Id: makefile.in,v 1.12 2007-03-25 15:02:54 bacon Exp $
|
2007-03-24 05:02:52 +00:00
|
|
|
#
|
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-03-25 15:03:25 +00:00
|
|
|
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/@BUILDMODE@/lib
|
2007-03-24 05:02:52 +00:00
|
|
|
LIBS = @LIBS@ -laselsp -lasecmn -laseutl -lm
|
|
|
|
MODE = @BUILDMODE@
|
2005-02-05 05:03:05 +00:00
|
|
|
|
2007-03-25 15:03:25 +00:00
|
|
|
OUT_DIR = ../../$(MODE)/bin
|
2007-02-11 09:18:32 +00:00
|
|
|
|
2007-03-24 05:02:52 +00:00
|
|
|
all: $(OUT_DIR)/aselsp
|
2005-02-05 05:03:05 +00:00
|
|
|
|
2007-03-25 15:03:25 +00:00
|
|
|
$(OUT_DIR)/aselsp: $(OUT_DIR)
|
2007-03-24 05:02:52 +00:00
|
|
|
$(CC) $(CFLAGS) -o $@ lsp.c $(LDFLAGS) $(LIBS)
|
2007-02-11 09:18:32 +00:00
|
|
|
|
2007-03-25 15:03:25 +00:00
|
|
|
$(OUT_DIR):
|
|
|
|
mkdir -p $(OUT_DIR)
|
|
|
|
|
2007-03-24 05:02:52 +00:00
|
|
|
clean:
|
|
|
|
rm -rf $(OUT_DIR)/aselsp
|
2005-02-05 05:03:05 +00:00
|
|
|
|