hutualive / non-recursive-make

c project template based on autoconf and automake with non-recursive make approach

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

non-recursive-make

c project template based on autoconf and automake with non-recursive make approach

quick start guide

  1. git clone https://github.com/hutualive/non-recursive-make.git
  2. cd non-recursive-make
  3. autoreconf --install
  • for release build
  1. mkdir build && cd build
  2. ../configure
  3. make
  4. ./hello
  • or debug build
  1. cd debug
  2. ./debug_configure
  3. make
  4. ./hello

notes

  • refer to debug/common_flags.sh and debug_configure to modify the CCFLAGS and CPPFLAGS as you need, for release build, such flag just leave to autotools to manage

reference

About

c project template based on autoconf and automake with non-recursive make approach

License:MIT License


Languages

Language:M4 56.2%Language:Shell 20.7%Language:Makefile 12.7%Language:C 10.4%