Rev | Line | |
---|
[430] | 1 | # | |
---|
| 2 | # o---------------------------------------------------------------------o |
---|
| 3 | # | |
---|
| 4 | # | MAD makefile - C++ files selection |
---|
| 5 | # | |
---|
| 6 | # o---------------------------------------------------------------------o |
---|
| 7 | # | |
---|
| 8 | # | Methodical Accelerator Design |
---|
| 9 | # | |
---|
| 10 | # | Copyright (c) 2011+ CERN, mad@cern.ch |
---|
| 11 | # | |
---|
| 12 | # | For more information, see http://cern.ch/mad |
---|
| 13 | # | |
---|
| 14 | # o---------------------------------------------------------------------o |
---|
| 15 | # | |
---|
| 16 | # | $Id$ |
---|
| 17 | # | |
---|
| 18 | |
---|
| 19 | vpath %.hpp src |
---|
| 20 | vpath %.cpp src |
---|
| 21 | |
---|
| 22 | CXX_DIR := src |
---|
| 23 | CXX_HDR := $(notdir $(wildcard src/mad_*.hpp)) |
---|
| 24 | CXX_SRC := $(notdir $(wildcard src/mad_*.cpp)) |
---|
| 25 | |
---|
| 26 | ifeq ($(NTPSA),yes) |
---|
| 27 | CXX_HDR += tpsa.h |
---|
| 28 | CXX_SRC += tpsa.cpp |
---|
| 29 | endif |
---|
| 30 | |
---|
| 31 | ####################### |
---|
| 32 | # C++ dependencies (case not automatic!) |
---|
| 33 | |
---|
| 34 | ifeq ($(CXXDEP),) |
---|
| 35 | |
---|
| 36 | tpsa.o: tpsa.h |
---|
| 37 | |
---|
| 38 | endif |
---|
| 39 | |
---|
| 40 | # end of makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.