diff --git a/lib/observer/src/Makefile b/lib/observer/src/Makefile index 2edb2ceb3e2d..716aa09e544d 100644 --- a/lib/observer/src/Makefile +++ b/lib/observer/src/Makefile @@ -128,7 +128,12 @@ ERL_COMPILE_FLAGS += \ # ---------------------------------------------------- # Targets # ---------------------------------------------------- -$(TYPES): $(TARGET_FILES) +$(TYPES): env $(TARGET_FILES) + +env: + @which erlc + @which erl + $(ERL) -noshell -eval 'io:format("~p",[code:get_path()]).' -s init stop clean: rm -f $(TARGET_FILES)