🎨 change clean command in makefile

This commit is contained in:
ValKmjolnir 2022-12-25 17:59:14 +08:00
parent d5996d6a1d
commit dc6f3347b7
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ stable-release-mingw:$(SRC)
$(CXX) -std=$(STD) -O2 main.cpp -o nasal.exe -fno-exceptions -Wshadow -Wall -static $(CXX) -std=$(STD) -O2 main.cpp -o nasal.exe -fno-exceptions -Wshadow -Wall -static
clean: clean:
@ if [ -e nasal ]; then rm nasal; fi @ echo "[clean] nasal" && if [ -e nasal ]; then rm nasal; fi
@ if [ -e nasal.exe ]; then rm nasal.exe; fi @ echo "[clean] nasal.exe" && if [ -e nasal.exe ]; then rm nasal.exe; fi
test:nasal test:nasal
@ ./nasal -e test/ascii-art.nas @ ./nasal -e test/ascii-art.nas