Homec4science

Improvements to makefile

Authored by Joshua Spence <josh@joshuaspence.com> on Aug 29 2015, 10:47.

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

Committed
Joshua Spence <josh@joshuaspence.com>Aug 30 2015, 02:50
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUa00d404cb723: Minor tidying of parser_nodes script
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@joshuaspence.com> committed rPHU69d571f7e99a: Improvements to makefile (authored by Joshua Spence <josh@joshuaspence.com>).Aug 30 2015, 02:50