diff --git a/contrib/toolchain/binutils/opcodes/Makefile b/contrib/toolchain/binutils/opcodes/Makefile index 8dbf68e864..7a65176d1c 100644 --- a/contrib/toolchain/binutils/opcodes/Makefile +++ b/contrib/toolchain/binutils/opcodes/Makefile @@ -1,3 +1,6 @@ +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 @@ -19,11 +22,11 @@ OBJS = $(patsubst %.cpp, %.o, $(patsubst %.c, %.o, $(SRCS))) all: libopcodes.a -libopcodes.a: $(OBJS) MAkefile +libopcodes.a: $(OBJS) Makefile $(AR) crs $@ $(OBJS) mv -f $@ $(SDK_DIR)/lib %.o : %.c Makefile $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< - \ No newline at end of file +