summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKalle Vahlman <kalle.vahlman@movial.com>2011-08-30 09:02:12 +0300
committerKalle Vahlman <kalle.vahlman@movial.com>2011-08-30 09:20:18 +0300
commit96941b76980e568b7b25e87760ed190662630779 (patch)
tree7b5067e262b640f39c62b1ced2421acf9264cc29 /Makefile
parent18252ed6cff0479c0a2360917ff9bcd31f35ac51 (diff)
Move default build & install dirs to current working dir
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4ac2448..76c8b6f 100644
--- a/Makefile
+++ b/Makefile
@@ -247,14 +247,14 @@ configfile: $(if $(wildcard $(config_file)),,config)
@echo $< > /dev/null
.PHONY: config
-config: BUILDFOLDER := $(if $(strip $(BUILDFOLDER)),$(BUILDFOLDER),$(shell bash -c "mktemp -d"))
+config: BUILDFOLDER := $(if $(strip $(BUILDFOLDER)),$(BUILDFOLDER),$(shell bash -c "pwd")/build)
config: AUTO_DIR_LIB :=$(BUILDFOLDER)/autogen/
config: LIB_x32 := $(BUILDFOLDER)/liblcdriver.so
config: LIB_x64 := $(BUILDFOLDER)/liblcdriver_x64.so
config: LIB_x32_OBJ_DIR := x32
config: LIB_x64_OBJ_DIR := x64
config: CXX := $(CROSS_PREFIX)g++
-config: LCD_INSTALLDIR := /tmp/
+config: LCD_INSTALLDIR := $(shell pwd)/dist
config:
@echo Generating config file...
@rm -f $(config_file)