# | # o---------------------------------------------------------------------o # | # | MAD makefile - C++ files selection # | # o---------------------------------------------------------------------o # | # | Methodical Accelerator Design # | # | Copyright (c) 2011+ CERN, mad@cern.ch # | # | For more information, see http://cern.ch/mad # | # o---------------------------------------------------------------------o # | # | $Id$ # | vpath %.hpp src vpath %.cpp src CXX_DIR := src CXX_HDR := $(notdir $(wildcard src/mad_*.hpp)) CXX_SRC := $(notdir $(wildcard src/mad_*.cpp)) ifeq ($(NTPSA),yes) CXX_HDR += tpsa.h CXX_SRC += tpsa.cpp endif ####################### # C++ dependencies (case not automatic!) ifeq ($(CXXDEP),) tpsa.o: tpsa.h endif # end of makefile