diff options
Diffstat (limited to 'lib/mnesia/src/Makefile')
-rw-r--r-- | lib/mnesia/src/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mnesia/src/Makefile b/lib/mnesia/src/Makefile index dce7a359d3..72aa054fb3 100644 --- a/lib/mnesia/src/Makefile +++ b/lib/mnesia/src/Makefile @@ -1,7 +1,7 @@ # # %CopyrightBegin% # -# Copyright Ericsson AB 1996-2021. All Rights Reserved. +# Copyright Ericsson AB 1996-2022. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -106,8 +106,8 @@ ERL_COMPILE_FLAGS += \ opt: $(TARGET_FILES) -debug: - @${MAKE} TYPE=debug +$(filter-out opt, $(TYPES)): + @${MAKE} TYPE=$@ opt clean: rm -f $(TARGET_FILES) |