source: PSPA/madxPSPA/libs/madx/Makefile @ 430

Last change on this file since 430 was 430, checked in by touze, 11 years ago

import madx-5.01.00

File size: 1.2 KB
Line 
1# |
2# o---------------------------------------------------------------------o
3# |
4# | MADX makefile
5# |
6# o---------------------------------------------------------------------o
7# |
8# | Polymorphic Tracking Code from Etienne Forest
9# |
10# | For more information, see http://cern.ch/mad
11# |
12# o---------------------------------------------------------------------o
13# |
14# | $Id$
15# |
16
17# Note: this makefile
18#   - is not supposed to be used directly
19#   - assume that the madx environment is already setup
20#   - add settings to the original madx environment (PROJECT, SHARED, DESTDIR)
21#   - call/reload the madx Makefile again
22
23# For makefile documentation, please read make/README
24# For information and bug report, please contact mad@cern.ch
25
26# debug
27ifeq ($(DEBUG_MAKE),yes)
28$(warning MAKEFLAGS = $(MAKEFLAGS))
29$(warning MAKEOVERRIDES = $(MAKEOVERRIDES))
30endif
31
32###################
33# Project settings
34
35PROJECT := libmadx
36
37SHARED  := yes
38
39#################
40# Build settings
41#
42
43# add the archiver
44AR := ar
45
46#################
47# Recursive call
48#
49
50.PHONY: $(PROJECT)
51
52export
53
54$(PROJECT):
55        @ $(MAKE) -C ../.. $(MAKEFLAGS) $(MAKEOVERRIDES) \
56                     PROJECT=$(PROJECT) SHARED=$(SHARED) DESTDIR=libs/madx/$(DESTDIR)
57
58# end of makefile
Note: See TracBrowser for help on using the repository browser.