summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-07-18 23:43:37 +0000
committerChris Lattner <sabre@nondot.org>2001-07-18 23:43:37 +0000
commitfebb11f9af7057b2f9a7960a9852f4e9699f5c7c (patch)
tree571c894b2d5d1ee3c400addd4f57dc704167fd3a /Makefile.common
parent083735d5827b0abf9a993acf24769e4fc7799477 (diff)
downloadllvm-febb11f9af7057b2f9a7960a9852f4e9699f5c7c.tar.gz
llvm-febb11f9af7057b2f9a7960a9852f4e9699f5c7c.tar.bz2
llvm-febb11f9af7057b2f9a7960a9852f4e9699f5c7c.tar.xz
Compile source files in alphabetical order
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index 027c4b6226..2c5f702f0d 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -87,7 +87,7 @@ ifndef Source
Source = $(wildcard *.cpp *.c *.y *.l)
endif
-Objs = $(addsuffix .o,$(basename $(Source)))
+Objs = $(sort $(addsuffix .o,$(basename $(Source))))
ObjectsO = $(addprefix Release/,$(Objs))
ObjectsG = $(addprefix Debug/,$(Objs))
@@ -117,6 +117,7 @@ LIBNAME_AO := Release/lib$(LIBRARYNAME).a
LIBNAME_AG := Debug/lib$(LIBRARYNAME).a
all:: $(LIBNAME_AG)
+###all:: $(LIBNAME_G)
# TODO: Enable optimized builds
$(LIBNAME_O): $(ObjectsO) $(LibSubDirs) Release/.dir Depend/.dir