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:
Code:
.PHONY: clean FORCE
clean: FORCE
	rm *.o outliner
FORCE:
make still gives the following error when I try to use these rules:
Code:
make: *** No rule to make target `clean'.  Stop.
Help, please?

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.

Thanks!