diff --git a/luprex/Makefile b/luprex/Makefile index 55809680..8a526791 100644 --- a/luprex/Makefile +++ b/luprex/Makefile @@ -170,6 +170,10 @@ endif ifeq "$(OS)" "visual" +ifeq "" "$(VSINSTALLDIR)" + $(error You must use vcvars64.bat to set up the visual studio environment variables) +endif + OPT=/Od /Zi MMD=g++ -Wall -std=c++17 -MMD -E CL=CL $(OPT) /std:c++17 /EHsc /nologo /MD /TP /c @@ -211,7 +215,7 @@ endif ####################################################################### clean: - rm -f luprex luprex.exe luprexlib.so luprexlib.dll luprexstatic luprexstatic.exe *.pdb obj/core/*.* obj/drv/*.* obj/eris/*.* + rm -f luprex luprex.exe luprexlib.so luprexlib.dll luprexstatic luprexstatic.exe *.ilk *.exp *.pdb obj/core/*.* obj/drv/*.* obj/eris/*.* #######################################################################