]> git.wh0rd.org Git - elf2flt.git/commitdiff
I've now tested building the uClinux tools on a Windows box. These are
authorDavid McCullough <davidm@snapgear.com>
Wed, 3 Sep 2003 12:29:29 +0000 (12:29 +0000)
committerDavid McCullough <davidm@snapgear.com>
Wed, 3 Sep 2003 12:29:29 +0000 (12:29 +0000)
some more elf2flt fixes required for Cygwin:

Bernardo Innocenti <bernie@develer.com>

Makefile.in

index 30fd79751bc2e6cb1a3cae533b047f5d8de746d4..5f46c3d40824f8859711d98ddd91936b761f63d0 100644 (file)
@@ -35,7 +35,7 @@ all: $(PROGS)
 $(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:
@@ -53,7 +53,7 @@ install:
                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)