qse/ase/cmd/lsp/makefile.in
2008-03-21 03:49:53 +00:00

24 lines
445 B
Makefile

#
# $Id: makefile.in,v 1.3 2007/04/30 08:32:50 bacon Exp $
#
CC = @CC@
CFLAGS = @CFLAGS@ -I@abs_top_builddir@/..
LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/@BUILDMODE@/lib
LIBS = @LIBS@ -laselsp -lasecmn -laseutl -lm
MODE = @BUILDMODE@
OUT_DIR = ../../$(MODE)/bin
all: $(OUT_DIR)/aselsp
$(OUT_DIR)/aselsp: $(OUT_DIR) lsp.c
$(CC) $(CFLAGS) -o $@ lsp.c $(LDFLAGS) $(LIBS)
$(OUT_DIR):
mkdir -p $(OUT_DIR)
clean:
rm -rf $(OUT_DIR)/aselsp