/make/edam-mk

To get this branch, use:
bzr branch http://bzr.ed.am/make/edam-mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
version 3.5 - 25th January, 2012

	- updated libraries added as dependencies of gphobos2
	- updated gphobos to gphobos2, for D2
	- added the debug goal
	- changed debugging info level to highest

version 3.4 - 8th February, 2010

	- changed name of makefile used in subdirs to emake.mk
	- a file names 'subdir.mk' in subdirectories mentioned in the SUBDIRS
	  variable is now explicitly used during the making the subdirectory, if it
	  is present
	- used line breaks for long lines, rather than multiple variable definitions
	- added extra warnings for C++ compilation
	- create position independant code in static libs as well as shared
	- also clean *~ files

version 3.3 - 5th March, 2009

	- added NOLIBPROFIX switch
	- fixed typo in documentation

version 3.2

	- added subprojects via SUBPROJS variable
	- tweaked some comments

version 3.1

    - properly cleanup dependencies

version 3.0

	- renamed to edam.mk; makefile should now be included rather than
	  duplicated and modified
	- added documentation comments and a disclaimer
	- removed settings that should now be specified in a separaet Makefile
	  before including edam.mk

version 2.4

	- added NDEBUG compiler directive

version 2.3

	- optimised dependency generation: generate stub dependencies from the
	  compiler and don't use the sed script where possible
	- fix spelling mistake in dependencies
	- only generate dependency files in debug mode

version 2.2

	- added support for D!
	- also cleanup dependency files

version 2.1

	- compiler/linker gives all wornings when building in debug
	- renamed dependency files .dep so they don't clash with D source
	- try to echo a blank line when recursing

version 2.0

	- smartened up comments
	- added PROFILEMODE
	- renamed STATICLIBS to LINKSTATIC
	- renamed lib target switched to MKSHAREDLIB and MKSTATICLIB
	- added setting of software variables
	- added debug & profile suffixes
	- added dependency file generation system
	- added rules to build various source types and added dependency generation

version 1.11

	- fixed recursive cleaning
	- notify when recursing during build

version 1.10

	- combines sources in to one variable, SOURCES
	- renamed switches to build static and shared lib to BUILDALIB and BUILDSOLIB
	- fixed run goal
	- added subdirs goal to phony list
	- fix linking to use CXX, not CC

version 1.9

	- added SUBDIRS for recursing
	- added check for SUBDIRS to clean
	- added new goal, clean_all, which recurses
	- added BUILDSO switch to build a shared library
	- renamed dependency files

version 1.8

	- set CC correctly
	- change assignments for non-recursive assignments
	- added BUILDLIB switch to build a static library

version 1.7

	- puled out options to set flags for g++, as and ld

version 1.6

	- added cpp build switch
	- added static linking switch

version 1.5

	- replaced debug option with debug switch
	- added run goal

version 1.3

	- added propper header
	- added debug options
	- added libraries option
	- added (currently unused) dependencies

version 1.02

	- switched compiler to g++

version 1.0

	- initial version