Establishing 'make clean' with GNU make
I've been reading up on how to get GNU make to 'make clean' no matter what, with no success. I have the following fragment in both makefiles:
make still gives the following error when I try to use these rules:
.PHONY: clean FORCE
rm *.o outliner
make: *** No rule to make target `clean'. Stop.
By the way, I'm only using this when I specify a different interface (CLI or GUI) to the bash wrapper. A different macro must be passed to GCC for all sources so everything must be recompiled whether it changed or not. (Well, not all sources depend on the macro but I'm not sure I should change the makefiles to only send it to some.) If there's any better way to do this, please do tell.