mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
Allow only extra Source files to be listed in a local Makefile.
Needed for automatically generated .cpp files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@853 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
386a3b7b95
commit
c4bed346ec
@ -78,9 +78,9 @@ MakeLib = $(AR)
|
|||||||
|
|
||||||
# Source includes all of the cpp files, and objects are derived from the
|
# Source includes all of the cpp files, and objects are derived from the
|
||||||
# source files...
|
# source files...
|
||||||
ifndef Source
|
# The local Makefile can list other Source files via Source = ...
|
||||||
Source = $(wildcard *.cpp *.c *.y *.l)
|
#
|
||||||
endif
|
Source := $(Source) $(wildcard *.cpp *.c *.y *.l)
|
||||||
|
|
||||||
Objs = $(sort $(addsuffix .o,$(basename $(Source))))
|
Objs = $(sort $(addsuffix .o,$(basename $(Source))))
|
||||||
ObjectsO = $(addprefix Release/,$(Objs))
|
ObjectsO = $(addprefix Release/,$(Objs))
|
||||||
|
@ -78,9 +78,9 @@ MakeLib = $(AR)
|
|||||||
|
|
||||||
# Source includes all of the cpp files, and objects are derived from the
|
# Source includes all of the cpp files, and objects are derived from the
|
||||||
# source files...
|
# source files...
|
||||||
ifndef Source
|
# The local Makefile can list other Source files via Source = ...
|
||||||
Source = $(wildcard *.cpp *.c *.y *.l)
|
#
|
||||||
endif
|
Source := $(Source) $(wildcard *.cpp *.c *.y *.l)
|
||||||
|
|
||||||
Objs = $(sort $(addsuffix .o,$(basename $(Source))))
|
Objs = $(sort $(addsuffix .o,$(basename $(Source))))
|
||||||
ObjectsO = $(addprefix Release/,$(Objs))
|
ObjectsO = $(addprefix Release/,$(Objs))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user