#
# Makefile for a ramdisk image
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
#  unless it's something special (ie not a .c file).

obj-y     += ramdisk.ord 
  
#O_FORMAT = $(shell $(OBJDUMP) -i | head -2 | grep elf32)

#ramdisk.o32: ramdisk.img ld.script
#	echo "O_FORMAT:  " $(O_FORMAT)
#	$(LD) -T ld.script -b binary --no-warn-mismatch --oformat $(O_FORMAT) -o $@ ramdisk.img

clean:
	rm -f *.o* 

EXTRA_AFLAGS := $(CFLAGS)
