diff options
author | Peter Powell <petpow@saberuk.com> | 2016-03-31 15:23:10 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2016-04-04 13:20:21 +0100 |
commit | 4ad12dd44e3beb1a6a4fc74e2ccb5e3df42cf7c5 (patch) | |
tree | d7fdfc176bdb3c2515bd70cb760110b21c9ebf8a /make | |
parent | 4c089bd6812ca0ca846519aaf96843a9b7da59b8 (diff) |
Rename M to INSPIRCD_MODULE.
Diffstat (limited to 'make')
-rw-r--r-- | make/template/main.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/make/template/main.mk b/make/template/main.mk index ba0b663a6..78de3a8d1 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -136,11 +136,11 @@ CORECXXFLAGS += $(CXXFLAGS) # Default target TARGET = all -@IFDEF M +@IFDEF INSPIRCD_MODULE HEADER = mod-header FOOTER = mod-footer - @TARGET BSD_MAKE TARGET = modules/${M:S/.so$//}.so - @TARGET GNU_MAKE TARGET = modules/$(M:.so=).so + @TARGET BSD_MAKE TARGET = modules/${INSPIRCD_MODULE:S/.so$//}.so + @TARGET GNU_MAKE TARGET = modules/$(INSPIRCD_MODULE:.so=).so @ENDIF @IFDEF INSPIRCD_TARGET @@ -313,7 +313,7 @@ help: @echo ' Currently installs to ${BASE}' @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 ' INSPIRCD_MODULE=m_foo Builds a single module (core_foo also works here)' @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' |