3 include $(SRCDIR)/config/aros.cfg
5 TARGETDIR := $(GENDIR)/$(CURDIR)
6 FILES := parthenope cdrom context dos elf ext2 menu rdb sfs support tftp
7 DEPS := $(foreach f, $(FILES), $(TARGETDIR)/$(f).d)
8 OBJS := $(foreach f, $(FILES), $(TARGETDIR)/$(f).o)
10 USER_CPPFLAGS += -DUSE_UBOOT -DIN_PARTHENOPE -DVERSION=\"91\" -DDATE=\"`date +%-d.%-m.%Y`\"
11 USER_CFLAGS += -ffixed-r2 -ffixed-r14 -ffixed-r29 -Wall $(CFLAGS_NO_BUILTIN) -nostdinc -nostdlib -g3
12 OPTIMIZATION_CFLAGS := -O2
14 #MM parthenope-sam440:
15 parthenope-sam440: $(AROSDIR)/Parthenope
17 $(AROSDIR)/Parthenope: $(OBJS) $(DEPS)
18 $(KERNEL_LD) -N --entry=bootstrap --script=$(SRCDIR)/$(CURDIR)/ldscript.lds $(OBJS) -o $@
20 $(TARGETDIR)/%.o : %.c
21 %compile_q opt="$(CFLAGS) $(CPPFLAGS)"
23 $(TARGETDIR)/%.d : %.c