summaryrefslogtreecommitdiff
path: root/make/template/main.mk
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2016-03-31 15:12:35 +0100
committerPeter Powell <petpow@saberuk.com>2016-04-04 13:20:21 +0100
commit4c089bd6812ca0ca846519aaf96843a9b7da59b8 (patch)
tree99fe679e5410afef94864af43e38e3efd6a84073 /make/template/main.mk
parenteaa3de48d2481c06a6ed5896b0a28f9c67aa7afb (diff)
Rename T to INSPIRCD_TARGET.
Diffstat (limited to 'make/template/main.mk')
-rw-r--r--make/template/main.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index 17496fb8a..ba0b663a6 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -143,10 +143,10 @@ TARGET = all
@TARGET GNU_MAKE TARGET = modules/$(M:.so=).so
@ENDIF
-@IFDEF T
+@IFDEF INSPIRCD_TARGET
HEADER =
FOOTER = target
- TARGET = $(T)
+ TARGET = $(INSPIRCD_TARGET)
@ENDIF
@IFEQ $(DBGOK) 0
@@ -314,9 +314,9 @@ help:
@echo ' debug Compile a debug build. Equivalent to "make D=1 all"'
@echo ''
@echo ' M=m_foo Builds a single module (cmd_foo also works here)'
- @echo ' T=target Builds a user-specified target, such as "inspircd" or "modules"'
- @echo ' Other targets are specified by their path in the build directory'
- @echo ' Multiple targets may be separated by a space'
+ @echo ' INSPIRCD_TARGET=target Builds a user-specified target, such as "inspircd" or "modules"'
+ @echo ' Other targets are specified by their path in the build directory'
+ @echo ' Multiple targets may be separated by a space'
@echo ''
@echo ' clean Cleans object files produced by the compile'
@echo ' distclean Cleans all generated files (build, configure, run, etc)'