summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2006-02-01 07:52:11 +0000
committerWerner Lemberg <wl@gnu.org>2006-02-01 07:52:11 +0000
commit8a4de0d66947e8aca820025b62446d400d25280f (patch)
treed1de3535818177df8df1ae0457e3eb6d67774dad /Makefile
parent9a8006b18ee2a8bdd2889d6f0dd932d197060827 (diff)
downloadfreetype2-8a4de0d66947e8aca820025b62446d400d25280f.tar.gz
* Makefile, *.mk: Use `?=' where appropriate.
* builds/detect.mk (TOP_DIR), builds/os2/os2-dev.mk (TOP_DIR), builds/win32/w32-dev.mk (TOP_DIR): Removed. Defined elsewhere.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index ab8dba596..c1fa16cee 100644
--- a/Makefile
+++ b/Makefile
@@ -15,22 +15,18 @@
# Project names
#
-PROJECT := freetype
+PROJECT := freetype
PROJECT_TITLE := FreeType
# The variable TOP_DIR holds the path to the topmost directory in the project
# engine source hierarchy. If it is not defined, default it to `.'.
#
-ifndef TOP_DIR
- TOP_DIR := .
-endif
+TOP_DIR ?= .
# The variable OBJ_DIR gives the location where object files and the
# FreeType library are built.
#
-ifndef OBJ_DIR
- OBJ_DIR := $(TOP_DIR)/objs
-endif
+OBJ_DIR ?= $(TOP_DIR)/objs
include $(TOP_DIR)/builds/toplevel.mk