fixed and simplified make clean for examples on Linux (#375)
This commit is contained in:
parent
418da225d5
commit
7fe39be75a
@ -375,7 +375,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
|||||||
del *.o *.exe /s
|
del *.o *.exe /s
|
||||||
endif
|
endif
|
||||||
ifeq ($(PLATFORM_OS),LINUX)
|
ifeq ($(PLATFORM_OS),LINUX)
|
||||||
find -type f -executable | xargs file -i | grep -E 'x-object|x-archive|x-sharedlib|x-executable' | rev | cut -d ':' -f 2- | rev | xargs rm -fv
|
rm -f $(EXAMPLES)
|
||||||
endif
|
endif
|
||||||
ifeq ($(PLATFORM_OS),OSX)
|
ifeq ($(PLATFORM_OS),OSX)
|
||||||
find . -type f -perm +ugo+x -delete
|
find . -type f -perm +ugo+x -delete
|
||||||
|
Loading…
x
Reference in New Issue
Block a user