1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

Compile source files in alphabetical order

llvm-svn: 202
This commit is contained in:
Chris Lattner 2001-07-18 23:43:37 +00:00
parent c88875a46d
commit 56541a781a
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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