Add a check for vsvars64 in Makefile
This commit is contained in:
@@ -170,6 +170,10 @@ endif
|
|||||||
|
|
||||||
ifeq "$(OS)" "visual"
|
ifeq "$(OS)" "visual"
|
||||||
|
|
||||||
|
ifeq "" "$(VSINSTALLDIR)"
|
||||||
|
$(error You must use vcvars64.bat to set up the visual studio environment variables)
|
||||||
|
endif
|
||||||
|
|
||||||
OPT=/Od /Zi
|
OPT=/Od /Zi
|
||||||
MMD=g++ -Wall -std=c++17 -MMD -E
|
MMD=g++ -Wall -std=c++17 -MMD -E
|
||||||
CL=CL $(OPT) /std:c++17 /EHsc /nologo /MD /TP /c
|
CL=CL $(OPT) /std:c++17 /EHsc /nologo /MD /TP /c
|
||||||
@@ -211,7 +215,7 @@ endif
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
clean:
|
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/*.*
|
||||||
|
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user