Categories: None [Edit]
demake
== Develop, Decorate and manage Dependencies for C (GNU) Makefiles easily with Ruby.
Install using the Ruby Gem:
> gem install demake
To see command syntax:
> demake ?
Command syntax:
demake - Create or update Makefile
demake ? - View this help information
demake new - Create new application
demake example - Create an example application
demake oreo - Create a different sample application
To create a new application:
> demake new
This will create a new directory and basic files for a new C application.
To create or update a GNU Makefile on an existing demake application,
execute without arguments:
> 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
For customization, optionally include (see example):
demake/settings.rb, demake/test-target.rb, demake/install-target.rb,
demake/license
You can also clone from git:
> 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
Total
Ranking: 170,944 of 195,871
Downloads: 2,817
Daily
Ranking: 25,764 of 195,832
Downloads: 14
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 109,788 | 7,243 | pipetext |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | MinaswanNakamoto |