-
Introduction to Make for beginners
As in any other profession, knowing your tools is the key for successfully doing your job. A chef without knives or a painter without a brush find it much harder to perform their job successfully and the same goes for a professional software developer. One such tool that a professional software developer should be aware…
-
A makefile template
The following is a template for the core of a makefile that uses selected parts of the gnu make conventions which I’ve been using more frequent. SHELL = /bin/sh .SUFFIXES: .SUFFIXES: .c .o #Package pkg_name = pkg_version = 1.0 CFLAGS = -g ALL_CFLAGS = -I. $(CFLAGS) CPPFLAGS = INSTALL = install INSTALL_PROGRAM = $(INSTALL) INSTALL_DATA…