http://prdownloads.sourceforge.net/lufs/lufs-0.9.7.tar.gz?download
[lufs.git] / kernel / Linux / 2.6 / Makefile
diff --git a/kernel/Linux/2.6/Makefile b/kernel/Linux/2.6/Makefile
new file mode 100644 (file)
index 0000000..7dfc663
--- /dev/null
@@ -0,0 +1,12 @@
+ifneq ($(KERNELRELEASE),)
+obj-m          := lufs.o
+lufs-objs      := proc.o inode.o dir.o file.o symlink.o
+
+else
+KDIR=/lib/modules/`uname -r`/build
+PWD=`pwd`
+
+.DEFAULT:
+       $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
+
+endif