diff options
author | Hans Nilsson <hans@erlang.org> | 2019-11-26 15:50:10 +0100 |
---|---|---|
committer | Hans Nilsson <hans@erlang.org> | 2019-11-28 09:47:35 +0100 |
commit | 1338ac70c14597b5075d9f3e141fa06b336cf6e1 (patch) | |
tree | ecd929ef3456c1397616011f02e69a5769ca4ea8 | |
parent | d76a5b99f6a10814722adf0e46a38fdceeda9010 (diff) | |
download | erlang-1338ac70c14597b5075d9f3e141fa06b336cf6e1.tar.gz |
tftp: Fix -behaviour warnings
-rw-r--r-- | lib/tftp/src/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/tftp/src/Makefile b/lib/tftp/src/Makefile index 602ae845a4..029bd731bd 100644 --- a/lib/tftp/src/Makefile +++ b/lib/tftp/src/Makefile @@ -36,16 +36,16 @@ RELSYSDIR = $(RELEASE_PATH)/lib/$(APPLICATION)-$(VSN) # ---------------------------------------------------- # Target Specs # ---------------------------------------------------- -BEHAVIOUR_MODULES= +BEHAVIOUR_MODULES= \ + tftp \ + tftp_logger MODULES = \ - tftp \ tftp_app \ tftp_binary \ tftp_engine \ tftp_file \ tftp_lib \ - tftp_logger \ tftp_sup HRL_FILES = tftp.hrl @@ -69,7 +69,10 @@ APPUP_TARGET= $(EBIN)/$(APPUP_FILE) # ---------------------------------------------------- # FLAGS # ---------------------------------------------------- - +EXTRA_ERLC_FLAGS = +warn_unused_vars +ERL_COMPILE_FLAGS += \ + -pz $(EBIN) \ + $(EXTRA_ERLC_FLAGS) # ---------------------------------------------------- # Targets |