Open AlbyTree opened 4 years ago
I copied the easymake.mk into my working directory and created a Makefile containing
easymake.mk
Makefile
CXXFLAGS=-O2 include ./easymake.mk
After executing make and successfully building I tried make clean but it just printed
make
make clean
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
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.mk
into my working directory and created aMakefile
containingAfter executing
make
and successfully building I triedmake clean
but it just printedI modified the
em_clean
rule in theeasymake.mk
like thisand the clean command worked.