diff --git a/contrib/toolchain/binutils/bfd/Makefile b/contrib/toolchain/binutils/bfd/Makefile index 13e4f59bdc..f1339da33d 100644 --- a/contrib/toolchain/binutils/bfd/Makefile +++ b/contrib/toolchain/binutils/bfd/Makefile @@ -1,3 +1,7 @@ +CC = kos32-gcc +LD = kos32-ld +SDK_DIR = ../../../sdk + CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -O2 CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields @@ -15,7 +19,8 @@ SRCS = \ archive.c archures.c bfd.c bfdio.c \ binary.c cache.c coff-bfd.c coffgen.c cofflink.c \ compress.c corefile.c cpu-i386.c \ - dwarf1.c dwarf2.c elf.c elf32.c \ +# dwarf1.c dwarf2.c elf.c elf32.c \ + dwarf1.c elf.c elf32.c \ elf32-gen.c elf32-i386.c elf-attrs.c \ elf-eh-frame.c elf-ifunc.c elflink.c \ elf-nacl.c elf-strtab.c elf-vxworks.c \ @@ -32,7 +37,7 @@ OBJS = $(patsubst %.cpp, %.o, $(patsubst %.c, %.o, $(SRCS))) all: libbfd.a -libbfd.a : $(OBJS) MAkefile +libbfd.a : $(OBJS) Makefile $(AR) crs libbfd.a $(OBJS) mv -f libbfd.a $(SDK_DIR)/lib @@ -48,4 +53,4 @@ targets.o : targets.c Makefile archures.o : archures.c Makefile $(CC) $(CFLAGS) $(DEFINES) $(TDEFS) $(INCLUDES) -o $@ $< - \ No newline at end of file +