Rev 6324 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6324 | Rev 8351 | ||
---|---|---|---|
Line -... | Line 1... | ||
- | 1 | CC = kos32-gcc |
|
- | 2 | LD = kos32-ld |
|
- | 3 | SDK_DIR = ../../../sdk |
|
- | 4 | ||
Line 1... | Line 5... | ||
1 | CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -O2 |
5 | |
2 | CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields |
6 | CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -O2 |
3 | CFLAGS_OPT+= -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wno-format -Werror |
7 | CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields |
4 | CFLAGS = -c $(CFLAGS_OPT) |
8 | CFLAGS_OPT+= -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wno-format -Werror |
Line 13... | Line 17... | ||
13 | SRCS = \ |
17 | TDEFS+= "-DSELECT_ARCHITECTURES=&bfd_i386_arch" |
14 | archive.c archures.c bfd.c bfdio.c \ |
18 | SRCS = \ |
15 | binary.c cache.c coff-bfd.c coffgen.c cofflink.c \ |
19 | archive.c archures.c bfd.c bfdio.c \ |
16 | compress.c corefile.c cpu-i386.c \ |
20 | binary.c cache.c coff-bfd.c coffgen.c cofflink.c \ |
17 | dwarf1.c dwarf2.c elf.c elf32.c \ |
21 | compress.c corefile.c cpu-i386.c \ |
18 | elf32-gen.c elf32-i386.c elf-attrs.c \ |
22 | # dwarf1.c dwarf2.c elf.c elf32.c \ |
- | 23 | dwarf1.c elf.c elf32.c \ |
|
19 | elf-eh-frame.c elf-ifunc.c elflink.c \ |
24 | elf32-gen.c elf32-i386.c elf-attrs.c \ |
20 | elf-nacl.c elf-strtab.c elf-vxworks.c \ |
25 | elf-eh-frame.c elf-ifunc.c elflink.c \ |
21 | format.c hash.c ihex.c init.c libbfd.c \ |
26 | elf-nacl.c elf-strtab.c elf-vxworks.c \ |
22 | linker.c merge.c opncls.c pe-i386.c \ |
27 | format.c hash.c ihex.c init.c libbfd.c \ |
23 | peigen.c pei-i386.c reloc.c section.c \ |
28 | linker.c merge.c opncls.c pe-i386.c \ |
Line 30... | Line 35... | ||
30 | # targets |
35 | |
Line 31... | Line 36... | ||
31 | 36 | # targets |
|
Line 32... | Line 37... | ||
32 | all: libbfd.a |
37 | |
33 | 38 | all: libbfd.a |
|
34 | libbfd.a : $(OBJS) MAkefile |
39 | |
Line 35... | Line 40... | ||
35 | $(AR) crs libbfd.a $(OBJS) |
40 | libbfd.a : $(OBJS) Makefile |
36 | mv -f libbfd.a $(SDK_DIR)/lib |
41 | $(AR) crs libbfd.a $(OBJS) |