Files @ a362b892cb43
Branch filter:

Location: light9/dmx_usb_module/Makefile

Drew Perttula
more makefile hacks to turn debug.js into an ES6 module
Ignore-this: 79b9757e462e9007ae4c2c5eaaf9d917

(can't wait for the js build fairy to come clean all this up)
#
# $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