Menu ▾ ▴

Build

Brad Lanam

Wiki Home

Building mkc

Cleaning

make realclean will clean up everything except for the files generated by bison and flex.

make distclean will clean everything.

Requisites

The files generated by bison and flex are contained in the source distribution. bison and flex are not required unless a make distclean is done.

  • C compiler
  • pkg-config
  • libpcre2-8
  • lorder
    For future use. Recommended.
    Linux doesn't have an lorder package, an lorder script is included for Linux.
  • rm, cp, etc.
  • bison
  • flex
Building

The bootstrap process will build mkc three times to create a functioning mkc program.

make

make PREFIX=$HOME/local

Testing

If mkc is built with no prefix, the tests may be run.

./tests/runtests.sh

Wiki Home


Related

Wiki: Home