source: trunk/oldtest/Makefile.in @ 4059

Last change on this file since 4059 was 3471, checked in by ldelgass, 12 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
3RP_INSTALL_BASE = @prefix@
4
5# define the top of the rappture directory structure
6RP_BASE         = @RP_BASE@
7
8
9CC              = @CC@
10CXX             = @CXX@
11DEBUG           = -g -Wall
12DEBUG_PLUS      = -g -DDEBUG
13
14LN              = @LN@
15
16# define our directories
17#
18INCLUDES_DIR    = $(RP_BASE)/src
19BIN_DIR         = $(RP_BASE)/bin
20LIB_DIR         = $(RP_INSTALL_BASE)/lib # $(RP_BASE)/src
21SRC_DIR         = $(RP_BASE)/src
22TEST_DIR        = $(RP_BASE)/test
23
24LIB_RAPPTURE    = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) -lrappture
25
26INCL_CORE       = -I $(INCLUDES_DIR)/core
27INCL_CEE        = -I $(INCLUDES_DIR)/cee
28INCL_FORTRAN    = -I $(INCLUDES_DIR)/fortran
29
30
31.PHONY: all clean distclean src jobs
32
33all: src jobs
34
35src:
36        $(MAKE) -C src all
37jobs:
38        $(MAKE) -C jobs all
39
40clean:
41
42distclean: clean
43        $(RM) Makefile
Note: See TracBrowser for help on using the repository browser.