Files @ 6adeda46b71c
Branch filter:

Location: light9/dmx_usb_module/Makefile

drewp@bigasterisk.com
/live page layout and features. it should be renamed to 'device control'
Ignore-this: a7fdcf485e22c76480ed99b7c5e3aae2
#
# $Id: Makefile 38 2004-09-11 11:15:09Z erwin $
#

ifneq ($(KERNELRELEASE),)

obj-m := dmx_usb.o

else

KDIR	:= /lib/modules/$(shell uname -r)/build
PWD	:= $(shell pwd)

default:
	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
	gcc -O2 -pipe -Wall dmx_usb_test.c -o dmx_usb_test

endif

clean:
	rm -f *.o *.ko
	rm -f dmx_usb_test
	rm -f dmx_usb.mod.c
	rm -f .dmx_usb.*
	rm -rf .tmp_versions
	rm -f Module.markers  modules.order  Module.symvers