On Fri, 22 Dec 2023, 11:51 Jonathan Wakely, <jwakely.gcc@xxxxxxxxx> wrote: > > > On Fri, 22 Dec 2023, 10:45 Aran Nokan via Gcc-help, <gcc-help@xxxxxxxxxxx> > wrote: > >> Hi, >> >> Thank you. I noticed that it is not working with the following error: >> >> No rule to make target 'test.0', >> >> >> So I changed it to this: >> >> $(PROGS): test.% : $(SRC) $(DEPS) >> > $(CC) -o $@ $(CFLAGS) $(LDLAGS) -O$* $(SRC) >> >> >> But now another problem: >> >> make: *** No rule to make target 'levmarg.c', needed by 'test.0'. Stop. >> > >> >> Do you have any idea how to fix it? >> > > You spelled it wrong. levmarq not levmarq > Ha, my phone's autocorrect changed the second one.