summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Martinez Canillas <martinez.javier@gmail.com>2010-12-05 01:59:14 +0100
committerJavier Martinez Canillas <martinez.javier@gmail.com>2010-12-05 01:59:14 +0100
commitc88fde800e721f962957a1eda8251becfdd6a104 (patch)
tree6028f58887365b6bbd78475fe2eb396a9463b5f6
parentb0008de14dd3a141a809dd88d28c86cfcdbe8333 (diff)
downloadldd3-c88fde800e721f962957a1eda8251becfdd6a104.tar.gz
simple: Makefile: Change CFLAGS to EXTRA_CFLAGS
-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))