add some reasonable warnings/errors when PREFIX is empty

This commit is contained in:
mrdudz
2025-06-29 22:46:42 +02:00
parent 91bf4352a9
commit 831eedfb58
2 changed files with 44 additions and 15 deletions

View File

@@ -101,6 +101,11 @@ ifdef CROSS_COMPILE
endif
all bin: $(PROGS)
ifeq ($(MAKELEVEL),0)
ifndef PREFIX
$(warning Warning: PREFIX is empty - make install will not work)
endif
endif
mostlyclean:
$(call RMDIR,../wrk)