Subversion Repositories Kolibri OS

Rev

Rev 5219 | Rev 6324 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5217 serge 1
 
2
3
 
4
CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields
5
CFLAGS_OPT+= -W -Wall -Wmissing-prototypes -Wno-format
6
CFLAGS   = -c $(CFLAGS_OPT)
7
8
 
9
10
 
11
DEFINES+= -Dbin_dummy_emulation=bin_vanilla_emulation
12
13
 
14
15
 
16
17
 
18
19
 
20
 
21
	ar.c arlex.c arparse.c arsup.c	\
5221 serge 22
	binemul.c bucomm.c debug.c	\
23
	emul_vanilla.c filemode.c ieee.c\
24
	is-strip.c not-ranlib.c		\
25
	not-strip.c objcopy.c rdcoff.c	\
26
	rddbg.c rename.c stabs.c	\
27
	version.c wrstabs.c
28
5217 serge 29
 
5219 serge 30
	objcopy.o not-strip.o rename.o	\
31
	rddbg.o debug.o stabs.o ieee.o	\
32
	rdcoff.o wrstabs.o bucomm.o	\
33
	version.o filemode.o
34
5217 serge 35
 
5219 serge 36
	arparse.o arlex.o ar.o 		\
37
	not-ranlib.o arsup.o rename.o	\
38
	binemul.o emul_vanilla.o 	\
39
	bucomm.o version.o filemode.o
40
5217 serge 41
 
5221 serge 42
	objcopy.o is-strip.o rename.o	\
43
	rddbg.o debug.o stabs.o ieee.o	\
44
	rdcoff.o wrstabs.o bucomm.o	\
45
	version.o filemode.o
46
47
 
5217 serge 48
49
 
5221 serge 50
5217 serge 51
 
5219 serge 52
	$(LD) $(LDFLAGS) $(LIBPATH) -o $@ $(OCOPY) $(LIBS)
53
	kos32-objcopy $@ -O binary
54
5217 serge 55
 
5219 serge 56
	$(LD) $(LDFLAGS) $(LIBPATH) -o $@ $(OAR) $(LIBS)
57
	kos32-objcopy $@ -O binary
58
59
 
5221 serge 60
	$(LD) $(LDFLAGS) $(LIBPATH) -o $@ $(OSTRIP) $(LIBS)
61
	kos32-objcopy $@ -O binary
62
63
 
5217 serge 64
	$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $<
65