Selaa lähdekoodia

fixed and simplified make clean for examples on Linux (#375)

Lieven Petersen 1 vuosi sitten
vanhempi
commit
7fe39be75a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      examples/Makefile

+ 1 - 1
examples/Makefile

@@ -375,7 +375,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
 		del *.o *.exe /s
     endif
     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
     ifeq ($(PLATFORM_OS),OSX)
 		find . -type f -perm +ugo+x -delete