summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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
+