summaryrefslogtreecommitdiffstats
path: root/driver/aim-cdev/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'driver/aim-cdev/Makefile')
-rw-r--r--driver/aim-cdev/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/driver/aim-cdev/Makefile b/driver/aim-cdev/Makefile
new file mode 100644
index 0000000..05853c2
--- /dev/null
+++ b/driver/aim-cdev/Makefile
@@ -0,0 +1,18 @@
+# Makefile
+#
+
+SRC := $(shell pwd)
+
+obj-m += aim_cdev.o
+aim_cdev-y := cdev.o
+CFLAGS_cdev.o := -I$(src)/../../mostcore/files/
+
+all:
+ $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules
+
+modules_install:
+ $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install
+
+clean:
+ $(MAKE) -C $(KERNEL_SRC) M=$(SRC) clean
+