Last change
on this file since 5599 was
3471,
checked in by ldelgass, 11 years ago
|
Makefile fixes: make 'install' target always depend on 'all' target. This
ensures that an up to date build exists before installing, and also permits
the use of "make install" in place of "make all install" or "make all; make install". It doesn't affect the existing build scripts. Likewise, make 'distclean'
always depend on 'clean'. Remove empty contour objects example, as there is no
corresponding object class. Also declare all the standard targets 'all, install,
etc' in the .PHONY section for performance.
|
File size:
919 bytes
|
Line | |
---|
1 | # you need to change this to where your version of python is installed. |
---|
2 | # tell make where to find python header files |
---|
3 | RP_INSTALL_BASE = @prefix@ |
---|
4 | |
---|
5 | # define the top of the rappture directory structure |
---|
6 | RP_BASE = @RP_BASE@ |
---|
7 | |
---|
8 | |
---|
9 | CC = @CC@ |
---|
10 | CXX = @CXX@ |
---|
11 | DEBUG = -g -Wall |
---|
12 | DEBUG_PLUS = -g -DDEBUG |
---|
13 | |
---|
14 | LN = @LN@ |
---|
15 | |
---|
16 | # define our directories |
---|
17 | # |
---|
18 | INCLUDES_DIR = $(RP_BASE)/src |
---|
19 | BIN_DIR = $(RP_BASE)/bin |
---|
20 | LIB_DIR = $(RP_INSTALL_BASE)/lib # $(RP_BASE)/src |
---|
21 | SRC_DIR = $(RP_BASE)/src |
---|
22 | TEST_DIR = $(RP_BASE)/test |
---|
23 | |
---|
24 | LIB_RAPPTURE = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) -lrappture |
---|
25 | |
---|
26 | INCL_CORE = -I $(INCLUDES_DIR)/core |
---|
27 | INCL_CEE = -I $(INCLUDES_DIR)/cee |
---|
28 | INCL_FORTRAN = -I $(INCLUDES_DIR)/fortran |
---|
29 | |
---|
30 | |
---|
31 | .PHONY: all clean distclean src jobs |
---|
32 | |
---|
33 | all: src jobs |
---|
34 | |
---|
35 | src: |
---|
36 | $(MAKE) -C src all |
---|
37 | jobs: |
---|
38 | $(MAKE) -C jobs all |
---|
39 | |
---|
40 | clean: |
---|
41 | |
---|
42 | distclean: clean |
---|
43 | $(RM) Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.