mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
5d6ca51ded
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17289 91177308-0d34-0410-b5e6-96231b3b80d8
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
|