Initial revision
[binutils.git] / bfd / makefile.dos
blob8a22c6af201f94bc3018a2de940b7aafefac0e2e
1 CFLAGS=-O2
3 .c.o :
4         gcc $(CFLAGS) -I. -I../include -c $<
6 all : libbfd.a
8 targets.o : targets.c
9         gcc $(CFLAGS) -I. -I../include -DSELECT_VECS=&go32coff_vec,&i386aout_vec -DDEFAULT_VECTOR=go32coff_vec -c $*.c
11 archures.o : archures.c
12         gcc $(CFLAGS) -I. -I../include -DSELECT_ARCHITECTURES=bfd_i386_arch -c $*.c
14 OBJS = \
15         libbfd.o \
16         opncls.o \
17         bfd.o \
18         archive.o \
19         targets.o \
20         cache.o \
21         archures.o \
22         corefile.o \
23         section.o \
24         format.o \
25         syms.o \
26         reloc.o \
27         init.o \
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 \
40         cofflink.o \
41         elf32.o \
42         binary.o \
43         tekhex.o \
44         $E
46 libbfd.a : $(OBJS)
47         -rm libbfd.a
48         ar rvs libbfd.a $(OBJS)
49         ranlib libbfd.a