HomePhabricator

Improvements to makefile

Description

Improvements to makefile

Summary: Various improvements to the XHPAST Makefile.

Test Plan:

> make -C support/xhpast cleanall parser scanner xhpast
make: Entering directory '/home/joshua/workspace/github.com/phacility/libphutil/support/xhpast'
rm --force xhpast parser.yacc.output libxhpast.a *.o
rm --force scanner.lex.hpp scanner.lex.cpp parser.yacc.hpp parser.yacc.cpp
rm --force node_names.hpp parser_nodes.php
bison --verbose -Wall --defines=parser.yacc.hpp --output=parser.yacc.cpp parser.y
flex -CFr --header-file=scanner.lex.hpp --outfile=scanner.lex.cpp scanner.l
php -f generate_nodes.php
Wrote C++ definition.
Wrote PHP definition.
g++ -c -fPIC -Wall -O3 -minline-all-stringops -o scanner.lex.o scanner.lex.cpp
g++ -c -fPIC -Wall -O3 -minline-all-stringops -o parser.yacc.o parser.yacc.cpp
ar -crs libxhpast.a scanner.lex.o parser.yacc.o
g++ -fPIC -Wall -O3 -minline-all-stringops -o xhpast xhpast.cpp libxhpast.a
make: Leaving directory '/home/joshua/workspace/github.com/phacility/libphutil/support/xhpast'

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D13978

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Aug 30 2015, 12:51 AM
Reviewer
Blessed Reviewers
Differential Revision
D13978: Improvements to makefile
Parents
rPHUa00d404cb723: Minor tidying of parser_nodes script
Branches
Unknown
Tags
Unknown