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:
parent
c88875a46d
commit
56541a781a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user