diff --git a/Makefile b/Makefile index 3712437..b91de0b 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,17 @@ +.PHONY: all clean + ifeq ($(OS),Windows_NT) # Windows - CLEAN_SCRIPT := .\clean_win.bat + CLEAN_SCRIPT := @echo off && .\clean_win.bat else UNAME_S := $(shell uname -s) ifeq ($(UNAME_S),Linux) # Linux - CLEAN_SCRIPT := ./clean_lin.sh + CLEAN_SCRIPT := chmod +x clean_lin.sh && ./clean_lin.sh endif endif -clean: - $(CLEAN_SCRIPT) - all: cmake . ninja +clean: + $(CLEAN_SCRIPT)