This Makefile helps Zephir developers with running all necessary tools as simple as possible. You can use this Makefile on local machine or various CI and also with PHPStorm/Clion as Run configurations
Zephir makefile automaticaly detects folder from which you run this makefile, so you dont need to configure paths or copying this makefile to your project. You can clone this repository to your local machine and just run zephir.makefile
_____ __ _ __
/__ / ___ ____ / /_ (_)____ ____ ___ ____ _/ /__ ___
/ / / _ \/ __ \/ __ \/ / ___/ / __ `__ \/ __ `/ //_/ __/
/ /__/ __/ /_/ / / / / / / / / / / / / /_/ / ,< / __/
/____/\___/ .___/_/ /_/_/_/ /_/ /_/ /_/\__,_/_/|_|\___/
/_/
You should run zephir.makefile from your Zephir project root dir
Usage:
make -f zephir.makefile <target> <target options>
Example:
make -f zephir.makefile memcheck
Targets:
--- --------------------------------------------------------------
memcheck Check Zephir extension for memory leaks
cachegrind Profile Extension with Cachegrind (creates ./cachegrind.out)
--- --------------------------------------------------------------
help Show this help and exit
- Run Valgrind memcheck for your compiled extension to check the memory leaks
- Run Valgrind cachegrind (cache and branch-prediction profiler) for your compiled extension
- Valgrind 3.13 or newer
- Graphviz dot for Call graph vizualization
- KCachegrind for Linux or QCachegrind for macOS
(*) under development
Zephir licensed under the MIT License. See the LICENSE file for more information.