Torsten Mohr wrote: > final.elf: $(OBJ) $(DEP) > $(LD) -o $@ $(OBJ) You need to move this to after where you set OBJ. At the point that you declare the target here, OBJ is empty.
Also you don't need the dependency on $(DEP) because final.elf doesn't really depend on them. Make will try to create them automatically once you "include" them. It might be wiser to use $^ (list of all prerequisites) instead of $(OBJ) explicitly in the command. That way you would see when the prerequisites aren't set correctly. # somewhere after OBJ is defined. final.elf: $(OBJ) $(LD) -o $@ $^ Best regards, Ian --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.771 / Virus Database: 518 - Release Date: 2004/09/28 _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/help-make
