1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00
dddvb/ddbridge/Makefile

20 lines
379 B
Makefile
Raw Normal View History

2015-08-05 17:22:42 +02:00
KDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
2016-03-24 12:10:20 +01:00
MODDEFS := CONFIG_DVB_DDBRIDGE=m
2015-08-05 17:22:42 +02:00
2016-03-24 12:10:20 +01:00
all:
2015-08-05 17:22:42 +02:00
$(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*