aboutsummaryrefslogtreecommitdiffstats
path: root/mk
diff options
context:
space:
mode:
authorkraxel <kraxel>2005-12-09 11:39:25 +0000
committerkraxel <kraxel>2005-12-09 11:39:25 +0000
commit3c5cdba758dd4ae00413651ac102bd743edc8304 (patch)
tree4c2b754609e081b592777af0a6614758bff4324e /mk
parent8f539c0c8e60ef4202b5998315416277e33c2738 (diff)
downloadkrecord-3c5cdba758dd4ae00413651ac102bd743edc8304.tar.gz
- patch from Dirk Müller, bugfixes & use kde filedialog.
Diffstat (limited to 'mk')
-rw-r--r--mk/Maintainer.mk2
-rw-r--r--mk/Variables.mk8
2 files changed, 6 insertions, 4 deletions
diff --git a/mk/Maintainer.mk b/mk/Maintainer.mk
index 5bf9480..62f02d6 100644
--- a/mk/Maintainer.mk
+++ b/mk/Maintainer.mk
@@ -1,7 +1,7 @@
# just some maintainer stuff for me ...
########################################################################
-make-sync-dir = $(HOME)/src/gnu-make
+make-sync-dir = $(HOME)/projects/gnu-makefiles
.PHONY: sync
sync:: distclean
diff --git a/mk/Variables.mk b/mk/Variables.mk
index 930f824..69486f3 100644
--- a/mk/Variables.mk
+++ b/mk/Variables.mk
@@ -29,9 +29,11 @@ INSTALL_DATA := $(INSTALL) -m 644
INSTALL_DIR := $(INSTALL) -d
# cflags
-CFLAGS ?= -g -O2
-CFLAGS += -Wall -Wmissing-prototypes -Wstrict-prototypes \
- -Wpointer-arith -Wunused
+CFLAGS ?= -g -O2
+CXXFLAGS ?= $(CFLAGS)
+CFLAGS += -Wall -Wmissing-prototypes -Wstrict-prototypes \
+ -Wpointer-arith -Wunused
+CXXFLAGS += -Wall -Wpointer-arith -Wunused
# add /usr/local to the search path if something is in there ...
ifneq ($(wildcard /usr/local/include/*.h),)