Add an extra rule that does not create the file itself:
%.o:
$(FC) $(FLAGS) -o $@ -c $<
some_file.o: thing
thing:
DO SOMETHING EXTRA BUT DON'T CREATE some_file.o
Note that if thing
is not created, this will cause some_file.o
to be built every time.