Subversion Repositories HelenOS-historic

Rev

Rev 309 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 309 Rev 326
Line 15... Line 15...
15
 
15
 
16
ifdef HT
16
ifdef HT
17
DEFS+=-D$(HT)
17
DEFS+=-D$(HT)
18
endif
18
endif
19
 
19
 
20
CPPFLAGS=$(DEFS) -nostdinc -I../include
20
CFLAGS=$(DEFS) -nostdlib -fno-builtin -fomit-frame-pointer -O3
21
CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -fomit-frame-pointer -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3
-
 
22
LFLAGS=-M -no-check-sections
21
LFLAGS=-M -no-check-sections
23
 
22
 
24
../arch/$(ARCH)/_link.ld: ../arch/$(ARCH)/_link.ld.in
23
../arch/$(ARCH)/_link.ld: ../arch/$(ARCH)/_link.ld.in
25
	$(CC) $(CFLAGS) -E -x c $< | grep -v "^\#" > $@
24
	$(CC) $(CFLAGS) -C -E -x c $< | grep -v "^\#" > $@
26
 
25
 
27
arch_sources= \
26
arch_sources= \
28
	arch/context.s \
27
	arch/context.s \
29
	arch/debug/panic.s \
28
	arch/debug/panic.s \
30
	arch/cpuid.s \
29
	arch/cpuid.s \