Good morning.
Your makefile is incorrect.
Make does not search implicit rules for phony targets.
regards, Dmitry
On Thu, Feb 13, 2020 at 2:31 PM wrote:
>
> Hi
>
> I have the following makefile
> --
> PHON1 := rr1 rr2
> PHON2 := rr1-sim
>
> .PHONY: all $(PHON1)
> # remove below line to get
Hi
I have the following makefile
--
PHON1 := rr1 rr2
PHON2 := rr1-sim
.PHONY: all $(PHON1)
# remove below line to get rr1-sim done
.PHONY: $(PHON2)
all: $(PHON1) $(PHON2)
@echo all done
%-sim: %
@echo doing $@
$(PHON1):
@echo doing $@
--
The command 'make' gives the