From: Andre Noll Date: Thu, 26 Jul 2012 02:28:37 +0000 (+0200) Subject: Makefile: Move generated files to build directory. X-Git-Tag: v0.4.12~30 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=ac4d64b9c2d9967a59fc01f1cf905fc06e891715;hp=3aebd048e74e6ec12367f62cdda386ccc55a6854 Makefile: Move generated files to build directory. This instructs the build system to store the generated ggo files, all objects and depend files, and the man pages in the new "build" directory. --- diff --git a/.gitignore b/.gitignore index b5b5befa..9091a9c2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -objects +build foo* bar* para_* diff --git a/Makefile.in b/Makefile.in index a99bacc2..52058012 100644 --- a/Makefile.in +++ b/Makefile.in @@ -23,11 +23,12 @@ codename := volatile relativity GIT_VERSION := $(shell ./GIT-VERSION-GEN git-version.h) m4_ggo_dir := m4/gengetopt -ggo_dir := ggo -object_dir := objects -man_dir := man/man1 test_dir := t -cmdline_dir := cmdline +build_dir := build +ggo_dir := $(build_dir)/ggo +object_dir := $(build_dir)/objects +man_dir := $(build_dir)/man/man1 +cmdline_dir := $(build_dir)/cmdline DEBUG_CPPFLAGS += -g -Wunused -Wundef -W DEBUG_CPPFLAGS += -Wredundant-decls