- Fix LLI so that it simulates the endianness of the target machine
[oota-llvm.git] / Makefile.rules
index e8cc9bad5dcd708554d06740de2246758ea49cfd..01261acd2b06605a1da5af574acc443c934cae31 100644 (file)
@@ -198,7 +198,9 @@ BISON    = bison
 # source files...
 # The local Makefile can list other Source files via ExtraSource = ...
 # 
+ifndef Source
 Source  := $(ExtraSource) $(wildcard *.cpp *.c *.y *.l)
+endif
 
 Objs := $(sort $(patsubst Debug/%.o, %.o, $(addsuffix .o,$(basename $(Source)))))
 ObjectsO := $(addprefix $(BUILD_ROOT)/Release/,$(Objs))