3 include $(SRCDIR)/config/aros.cfg
5 TARGETDIR := $(GENDIR)/$(CURDIR)
6 FILES := bootstrap elf menu of1275 support gpr
7 DEPS := $(foreach f, $(FILES), $(TARGETDIR)/$(f).d)
8 OBJS := $(foreach f, $(FILES), $(TARGETDIR)/$(f).o)
10 USER_CFLAGS += -Os -ffreestanding -nostdlib -Wall -I$(SRCDIR)/$(CURDIR)/../include -DVERSION=\"94\"
12 #MM ub2lb-chrp-ppc-efika: linklibs
13 ub2lb-chrp-ppc-efika: $(AROSDIR)/os_image
16 ub2lb-chrp-ppc-efika-quick: $(AROSDIR)/os_image
18 $(AROSDIR)/os_image: $(OBJS) $(DEPS)
19 $(KERNEL_LD) -N --entry=bootstrap --script=$(SRCDIR)/$(CURDIR)/ldscript.lds $(OBJS) -o $@
21 $(TARGETDIR)/%.o : %.c
22 %compile_q opt="$(CFLAGS)"
24 $(TARGETDIR)/%.o : %.S
25 %compile_q opt="$(CFLAGS)"
27 $(TARGETDIR)/%.d : %.c
30 $(TARGETDIR)/%.d : %.S