2 include $(TOP)/config/make.cfg
4 EXEDIR := $(AROSDIR)/boot
6 FILES := bootstrap bootmem elf_io filesystem hardware ui
9 ## The '-Wno-attributes' is here due to a gcc 4.5.x bug
10 ## where its strcmp() builtin generates a number of spurious
11 ## complaints with -O1 or higher optimizations enabled.
12 USER_CFLAGS := -Wno-attributes -DADATE="\"$(shell date '+%d.%m.%Y')\""
13 USER_LDFLAGS := -L$(GENDIR)/lib
14 USER_INCLUDES := -I$(GENINCDIR) -isystem $(SRCDIR)/bootstrap/include
16 #MM kernel-bootstrap-wince: linklibs-bootstrap
18 %build_prog mmake=kernel-bootstrap-wince \
19 progname=$(PROG) targetdir=$(EXEDIR) \
20 files=$(FILES) compiler=kernel uselibs="bootstrap"