Commit | Line | Data |
---|---|---|
c06e55d9 KR |
1 | CFLAGS=-O2 |
2 | ||
3 | .c.o : | |
4 | gcc $(CFLAGS) -I. -I../include -c $< | |
5 | ||
6 | all : libbfd.a | |
7 | ||
8 | targets.o : targets.c | |
9 | gcc $(CFLAGS) -I. -I../include -DSELECT_VECS=&go32coff_vec,&i386aout_vec -DDEFAULT_VECTOR=go32coff_vec -c $*.c | |
10 | ||
11 | archures.o : archures.c | |
12 | gcc $(CFLAGS) -I. -I../include -DSELECT_ARCHITECTURES=bfd_i386_arch -c $*.c | |
13 | ||
14 | OBJS = \ | |
15 | libbfd.o \ | |
16 | opncls.o \ | |
17 | bfd.o \ | |
18 | archive.o \ | |
19 | targets.o \ | |
20 | cache.o \ | |
21 | archures.o \ | |
d9e771e3 | 22 | corefile.o \ |
c06e55d9 KR |
23 | section.o \ |
24 | format.o \ | |
25 | syms.o \ | |
26 | reloc.o \ | |
27 | init.o \ | |
c06e55d9 KR |
28 | coffgen.o \ |
29 | srec.o \ | |
30 | hash.o \ | |
31 | linker.o \ | |
32 | ecoff.o \ | |
33 | ecofflink.o \ | |
34 | elf.o \ | |
35 | aout32.o \ | |
36 | stab-sym.o \ | |
37 | i386aout.o \ | |
38 | cpu-i386.o \ | |
39 | coff-go32.o \ | |
72f2e984 KR |
40 | cofflink.o \ |
41 | elf32.o \ | |
5b2c2b36 KR |
42 | binary.o \ |
43 | tekhex.o \ | |
c06e55d9 KR |
44 | $E |
45 | ||
46 | libbfd.a : $(OBJS) | |
47 | -rm libbfd.a | |
48 | ar rvs libbfd.a $(OBJS) | |
49 | ranlib libbfd.a |