mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
a909f95ebd
Correct the dependency of the Lexer.o file on the constructed llvmAsmParser.h header file. It is not the Lexer.cpp file that depends on the header, its the output of compiling Lexer.cpp, Lexer.o llvm-svn: 17289
21 lines
752 B
Makefile
21 lines
752 B
Makefile
##===- lib/AsmParser/Makefile ------------------------------*- Makefile -*-===##
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file was developed by the LLVM research group and is distributed under
|
|
# the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
LEVEL := ../..
|
|
LIBRARYNAME := LLVMAsmParser
|
|
BUILT_SOURCES := llvmAsmParser.cpp llvmAsmParser.h Lexer.cpp
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
#
|
|
# Make the object code file for the lexer depend upon the header file generated
|
|
# by the Bison parser. This prevents the Lexer from being compiled before the
|
|
# header file it needs is built.
|
|
$(OBJDIR)/Lexer.o: llvmAsmParser.h
|