summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2007-07-05 00:17:20 +0000
committerIan C <ianc@noddybox.co.uk>2007-07-05 00:17:20 +0000
commit2fc4bfec8dacfbf83aac65a36a5cae60ab994b4a (patch)
tree8f2d94ee2be8f24e0d4b67d1caa0137bb4b5e695 /Makefile
parentdbde49327daa8759b87a8c3e0bfebf8b8bb8b3b7 (diff)
This commit was generated by cvs2svn to compensate for changes in r2,HEADmaster
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..06e0e18
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+#
+# Makefile for the HardSID device driver.
+
+obj-m += hardsid.o
+
+KVER = $(shell uname -r)
+KDIR = /lib/modules/$(KVER)/build
+
+# default:: kmod_build
+
+kmod_build:: $(fglrx-libs) $(fglrx-cfiles) $(fglrx-hdrs)
+ $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
+
+clean::
+ rm -f *.o *.ko *.mod.* Module.symvers .hardsid*
+ rm -rf .tmp_versions
+