Subversion Repositories Kolibri OS

Rev

Rev 5217 | Rev 5221 | 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
	arparse.c arlex.c ar.c		\
5219 serge 22
	not-ranlib.c arsup.c		\
23
	binemul.c emul_vanilla.c	\
24
	objcopy.c not-strip.c rename.c	\
5217 serge 25
	rddbg.c debug.c stabs.c ieee.c	\
26
	rdcoff.c wrstabs.c bucomm.c	\
27
	version.c filemode.c
28
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
 
42
43
 
5219 serge 44
5217 serge 45
 
5219 serge 46
	$(LD) $(LDFLAGS) $(LIBPATH) -o $@ $(OCOPY) $(LIBS)
47
	kos32-objcopy $@ -O binary
48
5217 serge 49
 
5219 serge 50
	$(LD) $(LDFLAGS) $(LIBPATH) -o $@ $(OAR) $(LIBS)
51
	kos32-objcopy $@ -O binary
52
53
 
5217 serge 54
	$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $<
55