summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 90a360e..30fcadb 100644
--- a/Makefile
+++ b/Makefile
@@ -119,7 +119,7 @@ MODULESKO:=$(MODULES:%=%.ko)
MOD_DESTDIR:=zaptel
-EXTRA_CFLAGS:=-I$(PWD)/include -I$(PWD)/include/oct6100api
+EXTRA_CFLAGS:=-I$(SUBDIRS)/include -I$(SUBDIRS)/include/oct6100api
obj-m:=$(MODULESO)
wct4xxp-objs:=wct4xxp_base.o vpm450m.o
@@ -185,7 +185,7 @@ $(filter-out wct4xxp.o,$(MODULESO)) wct4xxp_base.o: %.o: %.c zaptel.h
$(CC) $(KFLAGS) -o $@ -c $<
vpm450m.o: vpm450m.c zaptel.h
- $(CC) $(KFLAGS) -I$(PWD)/include -I$(PWD)/include/oct6100api -o $@ -c $<
+ $(CC) $(KFLAGS) -I$(SUBDIRS)/include -I$(SUBDIRS)/include/oct6100api -o $@ -c $<
wct4xxp.o: wct4xxp_base.o vpm450m.o
$(LD) -r -o $@ wct4xxp_base.o vpm450m.o