obj-y                          := main.o version.o #mounts.o
#ifneq ($(CONFIG_BLK_DEV_INITRD),y)
obj-y                          += noinitramfs.o
#else
obj-y   += initramfs.o
#endif
obj-y += calibrate.o

#ifneq ($(CONFIG_ARCH_INIT_TASK),y)
obj-y                          += init_task.o
#endif

mounts-y			:= do_mounts.o
mounts-y	+= do_mounts_rd.o
mounts-y	+= do_mounts_initrd.o
mounts-y	+= do_mounts_md.o
obj-b = main.o
init.ko : ple_build.o $(obj-y) $(mounts-y)
	cc $(LINUXINCLUDE) $(USERINCLUDE) -l-y1.ko -l-y2.ko $@ $<

%.c: %.o
	cc $@ $<