Subversion Repositories Kolibri OS

Rev

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

Rev Author Line No. Line
5222 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
INCLUDES+= -I$(SDK_DIR)/sources/newlib/libc/include -I$(SDK_DIR)/sources/zlib
10
11
 
12
13
 
14
15
 
16
17
 
6324 serge 18
5222 serge 19
 
20
 
21
	app.c as.c atof-generic.c compress-debug.c	\
22
	cond.c depend.c	dwarf2dbg.c dw2gencfi.c ecoff.c	\
23
	ehopt.c expr.c flonum-copy.c flonum-konst.c	\
24
	flonum-mult.c frags.c hash.c input-file.c	\
25
	input-scrub.c listing.c	literal.c macro.c	\
26
	messages.c output-file.c read.c remap.c sb.c	\
27
	stabs.c subsegs.c symbols.c write.c		\
28
	config/atof-ieee.c config/obj-coff.c		\
29
	config/tc-i386.c
30
31
 
32
33
 
34
35
 
36
37
 
38
	$(LD) $(LDFLAGS) $(LIBPATH) -o $@ $(OBJS) $(LIBS)
39
	kos32-objcopy $@ -O binary
40
41
 
42
	$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $<
43