Skip to content

AlexNDRmac/zephir-makefile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zephir Makefile

Makefile for Zephir development

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

How it looks

  _____              __    _                         __
 /__  /  ___  ____  / /_  (_)____   ____ ___  ____ _/ /__ ___
   / /  / _ \/ __ \/ __ \/ / ___/  / __ `__ \/ __ `/ //_/ __/
  / /__/  __/ /_/ / / / / / /     / / / / / / /_/ / ,< / __/
 /____/\___/ .___/_/ /_/_/_/     /_/ /_/ /_/\__,_/_/|_|\___/
          /_/

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

Features

  • Run Valgrind memcheck for your compiled extension to check the memory leaks
  • Run Valgrind cachegrind (cache and branch-prediction profiler) for your compiled extension

Requirements

(*) under development

License

Zephir licensed under the MIT License. See the LICENSE file for more information.

About

Makefile for Zephir lang development

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published