And add rule to create a .cpp source file from burg input file!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@345 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vikram S. Adve 2001-08-06 19:06:43 +00:00
parent 811aad97c1
commit bedbcf65e2
2 changed files with 8 additions and 0 deletions

View File

@ -186,6 +186,10 @@ Debug/%.o: %.cpp Debug/.dir Depend/.dir
Debug/%.o: %.c Debug/.dir Depend/.dir Debug/%.o: %.c Debug/.dir Depend/.dir
$(CompileG) $< -o $@ $(CompileG) $< -o $@
# Create a .cpp source file from a burg input file
%.burm.cpp: %.burg
$(RunBurg) $< -o $@
# Create a .cpp source file from a flex input file... this uses sed to cut down # Create a .cpp source file from a flex input file... this uses sed to cut down
# on the warnings emited by GCC... # on the warnings emited by GCC...
%.cpp: %.l %.cpp: %.l

View File

@ -186,6 +186,10 @@ Debug/%.o: %.cpp Debug/.dir Depend/.dir
Debug/%.o: %.c Debug/.dir Depend/.dir Debug/%.o: %.c Debug/.dir Depend/.dir
$(CompileG) $< -o $@ $(CompileG) $< -o $@
# Create a .cpp source file from a burg input file
%.burm.cpp: %.burg
$(RunBurg) $< -o $@
# Create a .cpp source file from a flex input file... this uses sed to cut down # Create a .cpp source file from a flex input file... this uses sed to cut down
# on the warnings emited by GCC... # on the warnings emited by GCC...
%.cpp: %.l %.cpp: %.l