summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--simple/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/simple/Makefile b/simple/Makefile
index 429f743..5b2f2e1 100644
--- a/simple/Makefile
+++ b/simple/Makefile
@@ -8,7 +8,7 @@ else
DEBFLAGS = -O2
endif
-CFLAGS += $(DEBFLAGS) -I$(LDDINCDIR)
+EXTRA_CFLAGS += $(DEBFLAGS) -I$(LDDINCDIR)
ifneq ($(KERNELRELEASE),)
# call from kernel build system
@@ -31,7 +31,7 @@ clean:
rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions
depend .depend dep:
- $(CC) $(CFLAGS) -M *.c > .depend
+ $(CC) $(EXTRA_CFLAGS) -M *.c > .depend
ifeq (.depend,$(wildcard .depend))