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 |
---|
27 | ifeq ($(DEBUG_MAKE),yes) |
---|
28 | $(warning MAKEFLAGS = $(MAKEFLAGS)) |
---|
29 | $(warning MAKEOVERRIDES = $(MAKEOVERRIDES)) |
---|
30 | endif |
---|
31 | |
---|
32 | ################### |
---|
33 | # Project settings |
---|
34 | |
---|
35 | PROJECT := libmadx |
---|
36 | |
---|
37 | SHARED := yes |
---|
38 | |
---|
39 | ################# |
---|
40 | # Build settings |
---|
41 | # |
---|
42 | |
---|
43 | # add the archiver |
---|
44 | AR := ar |
---|
45 | |
---|
46 | ################# |
---|
47 | # Recursive call |
---|
48 | # |
---|
49 | |
---|
50 | .PHONY: $(PROJECT) |
---|
51 | |
---|
52 | export |
---|
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.