]> git.llucax.com Git - software/druntime.git/commitdiff
Allow building directly using 'make'
authorLeandro Lucarella <llucax@gmail.com>
Wed, 26 Nov 2008 01:57:31 +0000 (23:57 -0200)
committerLeandro Lucarella <llucax@gmail.com>
Thu, 27 Nov 2008 02:45:48 +0000 (00:45 -0200)
Using a dmd.conf configuration file per build directory, and using %@P%
special variable, now it's possible to build the project by using the make
command directly. For example:
make -f dmd-posix.mak

src/common/dmd.conf [new file with mode: 0644]
src/compiler/dmd/dmd.conf [new file with mode: 0644]
src/dmd.conf
src/gc/basic/dmd.conf [new file with mode: 0644]

diff --git a/src/common/dmd.conf b/src/common/dmd.conf
new file mode 100644 (file)
index 0000000..4fa490f
--- /dev/null
@@ -0,0 +1,2 @@
+[Environment]
+DFLAGS="-I%@P%/../../import"
diff --git a/src/compiler/dmd/dmd.conf b/src/compiler/dmd/dmd.conf
new file mode 100644 (file)
index 0000000..908a5a4
--- /dev/null
@@ -0,0 +1,2 @@
+[Environment]
+DFLAGS="-I%@P%../../common" "-I%@P%/../../../import"
index 5d7592ca96ea8bbe0d1efa861914879533003524..d5a6b32185a4210def00369b0f35988cb9152a0b 100644 (file)
@@ -1,2 +1,2 @@
 [Environment]
-DFLAGS="-I%HOME%/common" "-I%HOME%/../import"
+DFLAGS="-I%@P%/common" "-I%@P%/../import"
diff --git a/src/gc/basic/dmd.conf b/src/gc/basic/dmd.conf
new file mode 100644 (file)
index 0000000..908a5a4
--- /dev/null
@@ -0,0 +1,2 @@
+[Environment]
+DFLAGS="-I%@P%../../common" "-I%@P%/../../../import"