I copied the easymake.mk into my working directory and created a Makefile containing
CXXFLAGS=-O2
include ./easymake.mk
After executing make and successfully building I tried make clean but it just printed
if [ -d bin ]; then find bin '(' -name "*.o" -o -name "*.d" -o -name "*.a" -o -name "*.so" -o -name "em_*" ')' -exec rm -f '{}' ';' ; fi
I modified the em_clean rule in the easymake.mk like this
em_clean:
@if [ -d $(BUILD_ROOT) ]; then find $(BUILD_ROOT) '(' -name "*.o" -o -name "*.d" -o -name "*.a" -o -name "*.so" -o - name "em_*" ')' -exec rm -f '{}' ';' ; fi
and the clean command worked.
I copied the
easymake.mkinto my working directory and created aMakefilecontainingAfter executing
makeand successfully building I triedmake cleanbut it just printedI modified the
em_cleanrule in theeasymake.mklike thisand the clean command worked.