Initial commit
[distort.git] / Makefile
1
2 #OPTIONS =      -Wall -g -DDEBUG
3 OPTIONS =       -O2
4
5 all : distort
6
7 distort: distort.cc pictures.o array.o
8         g++ $(OPTIONS) -o distort distort.cc pictures.o array.o
9
10 smooth: smooth.cc pictures.o array.o
11         g++ $(OPTIONS) -o smooth smooth.cc pictures.o array.o
12
13 pictures.o : pictures.cc pictures.h
14         g++ $(OPTIONS) -c pictures.cc
15
16 array.o : array.cc array.h
17         g++ $(OPTIONS) -c array.cc
18
19 archive:
20         tar -cvf distort.tar Makefile *.cc *.h *.grd ref.ppm README.txt