$(PROG_ELF2FLT): $(srcdir)/elf2flt.c Makefile
$(CC) $(CCFLAGS) $(LDFLAGS) -o $@ $(srcdir)/elf2flt.c $(LIBS)
-flthdr: $(srcdir)/flthdr.c Makefile
+$(PROG_FLTHDR): $(srcdir)/flthdr.c Makefile
$(CC) $(CCFLAGS) $(LDFLAGS) -o $@ $(srcdir)/flthdr.c $(LIBS)
clean:
mv $(bindir)/$(TARGET)-ld$(EXEEXT) $(bindir)/$(TARGET)-ld.real$(EXEEXT)
[ -f $(target_bindir)/ld.real$(EXEEXT) ] || \
mv $(target_bindir)/ld$(EXEEXT) $(target_bindir)/ld.real$(EXEEXT)
- $(INSTALL) -m 755 $(srcdir)/ld-elf2flt$(EXEEXT) $(bindir)/$(TARGET)-ld$(EXEEXT)
- $(INSTALL) -m 755 $(srcdir)/ld-elf2flt$(EXEEXT) $(target_bindir)/ld$(EXEEXT)
+ $(INSTALL) -m 755 $(srcdir)/ld-elf2flt $(bindir)/$(TARGET)-ld
+ $(INSTALL) -m 755 $(srcdir)/ld-elf2flt $(target_bindir)/ld
$(INSTALL) -m 644 $(srcdir)/elf2flt.ld $(target_libdir)