Make clean on linux cleaning too much!

Hi,
When using Juce 7.0.9, if I have an output path for a library, e.g. specify “~/bin” for Library Location, then when I do a make clean, the whole of ~/bin is being removed!

This is caused by:
CLEANCMD = rm -rf $(JUCE_OUTDIR)/$(TARGET) $(JUCE_OBJDIR)

What should $(TARGET) be set to 'cos it looks like it’s blank.

thx

Agh! Damn that could have been nasty… Is this a makefile created by Projucer? I’ll watch out for that…

1 Like

yep

Thanks for reporting. It looks like this has been broken for a while, but it should be fixed on the develop branch now:

1 Like