Fix cleaning recipies for GNU/Linux
This commit is contained in:
parent
f2f4079411
commit
a04a7b6ea5
|
|
@ -165,7 +165,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
||||||
rm -f *.o libraylib.a
|
rm -f *.o libraylib.a
|
||||||
else
|
else
|
||||||
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 -f
|
rm -f *.o libraylib.a
|
||||||
else
|
else
|
||||||
del *.o libraylib.a
|
del *.o libraylib.a
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user