summaryrefslogtreecommitdiff
path: root/Makefile
blob: 06e0e187b301925ffdcf566df086dc4b34d3b5c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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