summaryrefslogtreecommitdiff
path: root/make/template
diff options
context:
space:
mode:
Diffstat (limited to 'make/template')
-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)'