summaryrefslogtreecommitdiff
path: root/Makefile
blob: 2ecba36a24fb6b63cb34d7502d9583205cd99432 (plain)
1
2
3
4
5
6
7
8
9
10
all: img img3d

img: img.c
	cc -I/usr/openwin/include -I/usr/local/include -I/usr/X11/include -L/usr/openwin/lib -L/usr/local/lib -L/usr/X11/lib -O -o img img.c -lm -lX11

img3d: img3d.c
	cc -I/usr/openwin/include -I/usr/local/include -I/usr/X11/include -L/usr/openwin/lib -L/usr/local/lib -L/usr/X11/lib -O -o img3d img3d.c -lm -lX11

clean:
	rm -f img img3d core