summaryrefslogtreecommitdiff
path: root/lib/inets/src
diff options
context:
space:
mode:
authorLukas Larsson <lukas@erlang.org>2022-01-04 17:44:08 +0100
committerLukas Larsson <lukas@erlang.org>2022-01-21 10:30:25 +0100
commitdda051ea1d6f24ae47da4f5fdcd581c4c505b262 (patch)
tree0fb13319f4d24bdd54b3935ee9484af3cf8919fb /lib/inets/src
parent0e8e4d03ea21082bf7fb64fc08711f951cabb165 (diff)
downloaderlang-dda051ea1d6f24ae47da4f5fdcd581c4c505b262.tar.gz
otp: Fix `make TYPE=$TYPE` to work for all types
Diffstat (limited to 'lib/inets/src')
-rw-r--r--lib/inets/src/http_client/Makefile2
-rw-r--r--lib/inets/src/http_lib/Makefile2
-rw-r--r--lib/inets/src/http_server/Makefile2
-rw-r--r--lib/inets/src/inets_app/Makefile2
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/inets/src/http_client/Makefile b/lib/inets/src/http_client/Makefile
index a1c1f36b70..e622dd7eab 100644
--- a/lib/inets/src/http_client/Makefile
+++ b/lib/inets/src/http_client/Makefile
@@ -77,7 +77,7 @@ ERL_COMPILE_FLAGS += \
# Targets
# ----------------------------------------------------
-debug opt: $(TARGET_FILES)
+$(TYPES): $(TARGET_FILES)
clean:
rm -f $(TARGET_FILES)
diff --git a/lib/inets/src/http_lib/Makefile b/lib/inets/src/http_lib/Makefile
index 8248e37c44..367a83e056 100644
--- a/lib/inets/src/http_lib/Makefile
+++ b/lib/inets/src/http_lib/Makefile
@@ -73,7 +73,7 @@ ERL_COMPILE_FLAGS += \
# Targets
# ----------------------------------------------------
-debug opt: $(TARGET_FILES)
+$(TYPES): $(TARGET_FILES)
clean:
rm -f $(TARGET_FILES)
diff --git a/lib/inets/src/http_server/Makefile b/lib/inets/src/http_server/Makefile
index f66a446d40..1c59758e7b 100644
--- a/lib/inets/src/http_server/Makefile
+++ b/lib/inets/src/http_server/Makefile
@@ -117,7 +117,7 @@ ERL_COMPILE_FLAGS += \
# ----------------------------------------------------
$(TARGET_FILES): $(BEHAVIOUR_TARGET_FILES)
-debug opt: $(TARGET_FILES)
+$(TYPES): $(TARGET_FILES)
clean:
rm -f $(TARGET_FILES) $(BEHAVIOUR_TARGET_FILES)
diff --git a/lib/inets/src/inets_app/Makefile b/lib/inets/src/inets_app/Makefile
index d85df269ce..7c270ae504 100644
--- a/lib/inets/src/inets_app/Makefile
+++ b/lib/inets/src/inets_app/Makefile
@@ -86,7 +86,7 @@ ERL_COMPILE_FLAGS += \
# Targets
# ----------------------------------------------------
-debug opt: $(TARGET_FILES)
+$(TYPES): $(TARGET_FILES)
clean:
rm -f $(TARGET_FILES)