mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
20 lines
381 B
Makefile
20 lines
381 B
Makefile
|
KDIR ?= /lib/modules/$(shell uname -r)/build
|
||
|
PWD := $(shell pwd)
|
||
|
|
||
|
MODDEFS := CONFIG_DVB_DDBRIDGE=m
|
||
|
|
||
|
all:
|
||
|
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) $(MODDEFS) modules
|
||
|
$(MAKE) -C apps
|
||
|
|
||
|
dep:
|
||
|
DIR=`pwd`; (cd $(TOPDIR); make SUBDIRS=$$DIR dep)
|
||
|
|
||
|
install: all
|
||
|
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules_install
|
||
|
|
||
|
clean:
|
||
|
rm -rf */*.o */*.ko */*.mod.c */.*.cmd .tmp_versions Module* modules*
|
||
|
|
||
|
|