mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
make: Add projects.mk and prefixed win32 objects with win32-
- Add new makefile projects.mk, which is the place to define the minimally required set of variables to get a project's makefile oriented about the build machinery itself, mostly its locations in the file system. This also includes querying other projects. It's been pushed into a seperate makefile includeable early in the Makefile hierarchy, so that other special build variables (i.e. TARGET) can be specialized from within the project later to define build characteristics. - Prefixed object files with $(FLAVOUR_PREFIX), to allow for building two targets from the same directory Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
9125eb392e
commit
cb1e735f9c
5 changed files with 42 additions and 34 deletions
|
|
@ -6,7 +6,6 @@
|
|||
# -- files
|
||||
#CONTRIBDIR ?= $(TOPDIR)/contrib
|
||||
PROJECT_DIRNAME ?= $(PROJECT)
|
||||
PROJECTS_DIR ?= $(CVS_PROJ_DIR)
|
||||
PROJECT_DIRPATH ?= $(shell readlink -f $(TOPDIR))
|
||||
PREFIX ?= $(ENV_PREFIX)$(HOME)/dat/test/$(FLAVOUR_PREFIX)$(PROJECT_DIRNAME)-$(VERSION)
|
||||
VAR_PREFIX ?= $(PREFIX)/var
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue