summaryrefslogtreecommitdiffstats
path: root/driver/hdm-dim2/Makefile
blob: 8ffaa236e9ae7a4e8a0e03cd77b0bcaf434b5ad0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Makefile
#

SRC := $(shell pwd)

obj-m += hdm_dim2.o
hdm_dim2-y := dim2_hdm.o dim2_hal.o dim2_sysfs.o
CFLAGS_dim2_hdm.o := -I$(src)/../include/

all:
	$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules

modules_install:
	$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install

clean:
	$(MAKE) -C $(KERNEL_SRC) M=$(SRC) clean