summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6292de6..b029713 100644
--- a/Makefile
+++ b/Makefile
@@ -150,7 +150,7 @@ MOD_DIR:=$(INSTALL_PREFIX)/lib/modules/$(KVERS)/misc
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
@@ -230,7 +230,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