Navigation Menu

Skip to content

Commit

Permalink
make clean now uses the -f option to rm, so there's no error if the
Browse files Browse the repository at this point in the history
files aren't there to clean up in the first place. Also, the JVM is
invoked with green threads and no JIT, so it won't segfault. Speed
ain't important with ANTLR...
  • Loading branch information
icculus committed Jan 3, 2000
1 parent 5d3795a commit ea00705
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions parser/Makefile
Expand Up @@ -11,7 +11,7 @@ export BUILD_FOLDER = `pwd`

export ANTLR_OBJS = $(ANTLR_CPP)/*.o

export ANTLR = java antlr.Tool
export ANTLR = java -green -Djava.compiler=NONE antlr.Tool

# Directories to search for header files
export SEARCHDIRS = -I- -I. -I$(ANTLR_CPP)
Expand All @@ -26,9 +26,9 @@ win32debug: Makefile.win32
@$(MAKE) -f Makefile.win32 debug

clean:
rm *.o
rm BasicParser.cpp BasicParser.hpp
rm BasicLexer.cpp BasicLexer.hpp
rm BasicParserTokenTypes.hpp BasicParserTokenTypes.txt
rm BasicTokenTypes.hpp BasicTokenTypes.txt
rm parser
rm -f *.o
rm -f BasicParser.cpp BasicParser.hpp
rm -f BasicLexer.cpp BasicLexer.hpp
rm -f BasicParserTokenTypes.hpp BasicParserTokenTypes.txt
rm -f BasicTokenTypes.hpp BasicTokenTypes.txt
rm -f parser

0 comments on commit ea00705

Please sign in to comment.