A simple makefile for compilation of my source under Linux. Note the required SVGA library for lorenz.c.
# Makefile for the Lorenz Attractor handling programs # Developed by Mike Andrews, 1996 # Make lorenz by default all: lorenz # lorenz is a special case, requiring the SVGALIB. lorenz: lorenz.c gcc -Wall -g -m486 -lm -lvga lorenz.c -o lorenz # Generic .c rule for programs with no dependencies, requiring the math lib. .c : gcc -Wall -g -m486 -lm $*.c -o $*