I have a command in my makefile for clean:
rm -rf */*.o */*.cmo */*.cmi */*.cmx */*.cma */*.cmxa */*.annot
Now I would like to write a cleanpartial that removes these files except those in the folder frontend/ and the folder frontend/gen/.
Does anyone know how to write this command properly?