next up previous contents
Next: music.c: For producing chaotic Up: Lorenz Attractor Source Code Previous: Lorenz Attractor Source Code


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 $*

Mike Andrews
Wed Oct 23 01:18:29 EDT 1996