#
# ============================================================================
# Copyright (c) 2014 RICOH Company, Ltd. All Rights Reserved
#
# ============================================================================
#

ccflags-y := -I$(src)/include
obj-m := pcifcu.o
pcifcu-objs := fcu.o fcud.o fax_share.o fcu_subr.o

SRC := $(shell pwd)

all:
	$(MAKE) -C $(KERNEL_SRC) M=$(SRC)

modules_install:
	$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install

ext:
	$(MAKE) -f makefile-external

clean:
	make -C $(KERNEL_SRC) M=$(SRC) clean
	rm -f *.o *~ core .depend .*.cmd *.ko *.mod.c
	rm -f Module.markers Module.symvers modules.order
	rm -rf .tmp_versions Modules.symvers
