The tool called "make" is a build manager which compares the last modification times of various files and performs user specified actions (commands) when the "target" files are found to be older than their dependencies.
10
votes
1answer
148 views
Makefile for a custom operating system kernel
I'm now posting the second semi-complete part of my operating system makefile. The kernel itself is currently incomplete, so don't be surprised by the small size of the makefile. When the kernel ...
7
votes
2answers
470 views
Makefile and directory structure
I am looking for improvements for this basic makefile and directory structure. I know this is overkill and could be compiled with one line in a flat directory structure, but I want to use this as a ...
7
votes
1answer
113 views
Coverage processing on multiple Java projects with gmake
As part of my data collection, I have to run multiple kinds of coverage processing on multiple Java projects. Below is my main Makefile intented only for gmake. ...
6
votes
3answers
60 views
Built-in help in a Makefile
My colleagues often ask me, "Dude could you remind me what I have to type to build this target?". So I eventually implemented a nice workaround in my Makefiles.
I wanted my Makefiles to have a help ...
5
votes
2answers
119 views
Makefile for a x86 operating system in C++
I recently had submitted my bashscript for building an OS for review and got valuable feedback, so I rewrote the entire script for a makefile:
Makefile
...
4
votes
2answers
109 views
Makefile to build and debug a C++ console app
I had to create this makefile to build and debug a C++ console app. I just need some hints and tips on how I can organize my makefile.
...
4
votes
1answer
41 views
Automake for an S/KEY implementation
I've been tasked with giving a legacy codebase some love. The actual code is written in C, but is not very relevant aside from the #includes each file makes. No, ...
3
votes
2answers
1k views
Optimize a Makefile
Since my project is getting bigger every day and I am just a starter in the wonderful world of makefiles, I need some help improving mine because, although it works (almost) as I wish, it really ...
3
votes
2answers
153 views
A basic, modern, idiomatic GNU makefile
I have prepared a small makefile for a small project, but I am trying to find what would be the best practices; up to now I have gathered these:
relatively idiomatic (typical structures, flows, var ...
3
votes
1answer
154 views
Cleaning multiple build directories
I'm cleaning build directories produced by GNOME build tool, JHBuild. This tool either downloads tarballs or clones git repositories, depending on set-up. After that, it proceeds to compilation (and ...
2
votes
1answer
37 views
Makefile and main header file for a shell
My main.c includes this header file. Please let me know how I can improve it. I did my best but I don't know much about code conventions in C (I come from Java and ...
2
votes
1answer
44 views
Slicing and dicing images for Google Play
Making an Android app involves making a lot of images of various sizes:
The app's launcher icon, in high/low/medium resolution
Buttons, menu buttons, if any, in high/low/medium resolution
Images for ...
2
votes
1answer
57 views
Makefile for automatically processing image files
I have a Makefile that is used to automatically process some image files. The basic idea behind this is
copy everything from col-noborder and ...
1
vote
0answers
45 views
Non-recursive make script
I am trying to make an easy-to-use non-recursive make script that works with several directories.
Everything is packed here.:
Directory structure
...