1 |
jgs |
149 |
# $Id$ |
2 |
|
|
|
3 |
|
|
# This makefile automatically finds, calculates dependencies, compiles |
4 |
|
|
# and makes a static library from all C++ files found in the directories |
5 |
|
|
# under ${L_SRC_DIR} (see below). Files and even whole directory trees |
6 |
|
|
# under ${L_SRC_DIR} can be skipped by postfixing the name with a "-". |
7 |
|
|
|
8 |
|
|
# Matt Davies 04/08/03 |
9 |
|
|
|
10 |
|
|
DEFAULT_TARGET := libbrucecpp.so pyc |
11 |
|
|
|
12 |
|
|
ifeq ($(strip $(L_PYTH_DIR)),) |
13 |
|
|
L_PYTH_DIR := $(ESYS_ROOT)/esys |
14 |
|
|
endif |
15 |
|
|
|
16 |
|
|
L_PYTH_DIR := $(L_PYTH_DIR)/bruce |
17 |
|
|
|
18 |
|
|
INSTALL_PYTH := ./lib/py_src/__init__.pyc ./lib/py_src/bruce.pyc |
19 |
|
|
|
20 |
|
|
INSTALL_LIB := ./lib/libbrucecpp.so |
21 |
|
|
|
22 |
|
|
PACKAGES := escript esysUtils python boostStatic |
23 |
|
|
|
24 |
|
|
L_SRC_DIR:= ./src ./py_src |
25 |
|
|
|
26 |
|
|
include $(ESYS_ROOT)/make/Makefile.default |