Arquivos
hhvm/hphp/system/Makefile
T
2013-03-07 22:04:08 -08:00

13 linhas
357 B
Makefile

PROJECT_ROOT = ../..
include $(PROJECT_ROOT)/src/dirs.mk
PHP_FILES = $(wildcard classes/*.php) $(wildcard globals/*.php)
PHP := $(wildcard /usr/local/hphpi/bin/hhvm)
PHP := $(if $(PHP),$(PHP) -v Preg.ErrorLog=false,php)
all:
$(HPHP) --opts=none -t cpp -f sys --input-dir . -i $(PHP_FILES) -o gen 1>/dev/null
$(V)$(PHP) $(PROJECT_ROOT)/bin/license.php