summaryrefslogtreecommitdiff
path: root/bfd/makefile.dos
blob: 8a22c6af201f94bc3018a2de940b7aafefac0e2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
CFLAGS=-O2

.c.o :
	gcc $(CFLAGS) -I. -I../include -c $<

all : libbfd.a

targets.o : targets.c
	gcc $(CFLAGS) -I. -I../include -DSELECT_VECS=&go32coff_vec,&i386aout_vec -DDEFAULT_VECTOR=go32coff_vec -c $*.c

archures.o : archures.c
	gcc $(CFLAGS) -I. -I../include -DSELECT_ARCHITECTURES=bfd_i386_arch -c $*.c

OBJS = \
	libbfd.o \
	opncls.o \
	bfd.o \
	archive.o \
	targets.o \
	cache.o \
	archures.o \
	corefile.o \
	section.o \
	format.o \
	syms.o \
	reloc.o \
	init.o \
	coffgen.o \
	srec.o \
	hash.o \
	linker.o \
	ecoff.o \
	ecofflink.o \
	elf.o \
	aout32.o \
	stab-sym.o \
	i386aout.o \
	cpu-i386.o \
	coff-go32.o \
	cofflink.o \
	elf32.o \
	binary.o \
	tekhex.o \
	$E

libbfd.a : $(OBJS)
	-rm libbfd.a
	ar rvs libbfd.a $(OBJS)
	ranlib libbfd.a