Arquivos
hhvm/hphp/util/parser/Makefile
T
Jordan Delong 363d1bb20f Code move src/ -> hphp/
This change is mostly for FB internal organizational reasons.
Building is not effected beyond the fact that the target now
lands in hphp/hhvm/hhvm rather than src/hhvm/hhvm.
2013-02-11 02:10:41 -08:00

19 linhas
461 B
Makefile

PROJECT_ROOT = ../../..
export \
BISON_PKGDATADIR=$(realpath $(PROJECT_ROOT))/external-centos/bison/share/bison
all: lex.yy.cpp
$(MAKE) -C $(PROJECT_ROOT)/src/compiler/parser
$(MAKE) -C $(PROJECT_ROOT)/src/runtime/eval/parser
@php $(PROJECT_ROOT)/bin/license.php
.PHONY: lex.yy.cpp
lex.yy.cpp: hphp.x
@echo "Generating scanner code..."
$(V)$(EXT_DIR)/flex/bin/flex -i -f -Phphp -R -8 --bison-locations \
-o$@ $<
include $(PROJECT_ROOT)/src/rules.mk