RubyGems Navigation menu

demake 0.1.1

Develop, Decorate and manage Dependencies for C (GNU) Makefiles easily with a Ruby script.

Install using the Ruby Gem:

> gem install demake

To create an example with multiple sample applications:

> demake example

This will create a directory named example containing the example.

To create an example with a single sample application:

> demake oreo

This will create a directory named oreo containing the example.

It requires a demake directory and application file containing the application
names followed by depencencies separated by spaces and with a new line to indicate
a different application. Something like (from the example):

> mkdir demake
> echo "hello string" > demake/applications
> echo "goodbye string" >> demake/applications
> demake > Makefile

For customization, optionally include (see example):
demake/settings.rb, demake/test-target.rb, demake/install-target.rb

The output of the command by itself is a (GNU style) Makefile:

> demake > Makefile

You can also clone from git for a more complete example:

> git clone https://github.com/MinaswanNakamoto/demake.git
> chmod +x demake/bin/demake
> cd demake
> bin/demake example
> cd example ; make ; make build ; make test

If you have an existing C application and you want to generate a Makefile for it,
you might try the gen_application shell script.

> ./gen_application myapp

Gemfile:
=

install:
=

Versions:

  1. 0.1.1 January 24, 2026 (11.5 KB)
  2. 0.1.0 January 11, 2026 (8.5 KB)
  3. 0.0.3 December 28, 2025 (7 KB)
  4. 0.0.2 November 18, 2025 (7 KB)
  5. 0.0.1 November 18, 2025 (7 KB)

Runtime Dependencies (1):

pipetext ~> 0.1, >= 0.1.3

Owners:

Pushed by:

Authors:

  • Minaswan Nakamoto

SHA 256 checksum:

=

Total downloads 752

For this version 150

Version Released:

License:

MIT

Required Ruby Version: >= 1.8.7

Links: