Ensure the lex/yacc output are specified as BUILT_SOURCES so they get
built first.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17290
91177308-0d34-0410-b5e6-
96231b3b80d8
##===- projects/Stacker/lib/compiler/Makefile --------------*- Makefile -*-===##
-#
-# Indicate where we are relative to the top of the source tree.
-#
-LEVEL=../..
+LEVEL := ../..
+LIBRARYNAME := stkr_compiler
+BUILT_SOURCES := StackerParser.cpp StackerParser.h Lexer.cpp
-#
-# Give the name of a library. This will build a dynamic version.
-#
-LIBRARYNAME=stkr_compiler
-
-#
-# Include Makefile.common so we know what to do.
-#
include $(LEVEL)/Makefile.common
ifdef PARSE_DEBUG