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