Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.
/ makegen Public archive

A simple, configurable Makefile generator for C/C++

Notifications You must be signed in to change notification settings

reinhardlinardi/makegen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Makegen

A simple, configurable Makefile generator for C/C++

Setup

  1. Copy script and config
/bin/bash -c 'cp makegen{,.conf} SRC_ROOT'
  1. Edit config file makegen.conf

Usage

  • Generate Makefile: ./makegen
  • Build project: make
  • Clean build: make clean

Config

Name Type Value Default
LANGUAGE string c/c++ -
STANDARD string any, e.g. c++11 -
COMPILER string any gcc/g++
DEBUG boolean any true
OPTIMIZE boolean any false
COMPILER_FLAGS string any, e.g. -Wall -
LINKER_FLAGS string any, e.g. -lm -
SRC_PATH path any src
HEADER_PATH path any -
OBJECT_PATH path any obj
EXE_PATH path any bin
EXE_NAME string any main

About

A simple, configurable Makefile generator for C/C++

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published