Commit graph

18 commits

Author SHA1 Message Date
bf9bb79246 make/Makefile, defs-cpp.mk, platform.mk: Generalize MinGW build machinery (a bit)
This commit takes the MinGW cross compilation further into the direction of
being a more general framework for cross compilation. Changed some variable
names that are too specialized, notably MinGW tool chain directories,
compilers, utilities.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-03-03 10:45:08 +00:00
9e245c986e make: Further improve build time
This commit sees several improvements to the build performance:

- Introduce cache.mk, which creates makefiles caching often used
  variables, per tree and per project.
- Define more variables with := enclosed in condistions, instead of
  defining them with ?=, because the RHS of ?= is expanded deferredly.
- Add more definitions for executables.
- Move some more specialized definitions out into specialized makefiles,
  notably htdocs.mk and tmpl.mk

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-02-28 13:22:12 +00:00
d684f198b2 make: Add dev-utils.mk for convenience targets
dev-utils.mk is meant to provide targets like install-to-system,
which will be invoked during development

Signed-off-by: Jan Lindemann <jan@janware.com>
2018-11-27 15:10:18 +00:00
01d16a397a make/Makefile: Replace echo-vars by grep-vars
echo-vars is already defined in defs.mk and uses make -p

Signed-off-by: Jan Lindemann <jan@janware.com>
2018-11-13 13:53:00 +00:00
c2acba3ed8 make/Makefile: Add target echo-vars
Signed-off-by: Jan Lindemann <jan@janware.com>
2018-10-23 17:39:30 +00:00
8cb94ae82d make: Remove deps.d and defs.d
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-12-15 12:50:37 +00:00
Jan Lindemann
2939f8e3a8 Everywhere: Merge V_1_1_29_40_POST_ACCEPTANCE 2011-02-20 14:15:22 +00:00
Jan Lindemann
bc13615ac4 make/Makefile: Add installation of winres.rc.tmpl 2009-08-10 08:47:10 +00:00
Jan Lindemann
c38c60c67d make/Makefile: Add dirs.mk and SUBDIRS = deps.mk defs.mk 2009-07-11 14:00:35 +00:00
Jan Lindemann
2f2c60f614 Everywhere: Streamline TOPDIR
Make definition and usage of TOPDIR consistent with other projects
2006-08-16 14:53:49 +00:00
Jan Lindemann
4fd6a6d677 Everywhere: Rename ytools.mk to proj.mk
Replace ytools.mk by proj.mk for consistency reasons:
$(TOPDIR)/make/proj.mk should be the project-wide but project-private
makefile for projects.
2006-07-31 14:12:38 +00:00
Jan Lindemann
81de57cbd9 make: Clean up library dependencies
Clean up dependencies of version.ldscript, libdir.done in defs.mk and
rules.mk.
2005-05-07 16:44:31 +00:00
Jan Lindemann
d5da27eb91 $(TOPDIR), make: Make make_scm.sh work 2002-07-25 10:39:55 +00:00
Jan Lindemann
2c52cef605 bin, make, scripts, tmpl/tex: Add include $(MODDIR)/make/ytools.mk 2002-07-20 17:16:40 +00:00
Jan Lindemann
fbaa3fbd20 make: Add support for make.mk 2002-07-02 10:12:06 +00:00
Jan Lindemann
e343db7e83 $(TOPDIR), make, tmpl/tex: Kick out TOPDIR definition 2002-05-15 18:43:55 +00:00
Jan Lindemann
cd2c306260 make, scripts, tmpl/tex: Add "TOPDIR" entry 2001-07-26 13:32:08 +00:00
Jan Lindemann
46c67d77fc $(TOPDIR), make: Initial commit
After making most modules independent from the Hamlet tree, place
Makefiles in a central location for more centralized control over the
build process.
2001-07-06 13:12:14 +00:00