summaryrefslogtreecommitdiff
path: root/Makefile
blob: 665dd9454d87acc7b2d6473259a70e4637244e12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
CFLAGS=-Wall -g
LDFLAGS=-Wall -lm -g
GTKFLAGS=`pkg-config --cflags --libs gtk+-2.0`

all: jinc filters fft-test bluenoise trans noise2 voidcluster alias

filters: fft.c fft.h filters.c
	$(CC) -o filters fft.c filters.c $(LDFLAGS)

fft-test: fft.c fft.h fft-test.c
	$(CC) -o fft-test fft.c fft-test.c $(LDFLAGS)

trans: pngtrans.c fft.c fft.h image.c image.h
	$(CC) $(GTKFLAGS) -o trans fft.c pngtrans.c image.c $(LDFLAGS)

jinc: jinc.c fft.c fft.h image.c image.h
	$(CC) $(GTKFLAGS) -o jinc jinc.c fft.c image.c $(LDFLAGS)

bluenoise: fft.c fft.h bluenoise.c gtk-utils.c
	$(CC) $(GTKFLAGS) -o bluenoise fft.c bluenoise.c gtk-utils.c $(LDFLAGS)

noise2: noise2.c fft.c fft.h image.c image.h
	$(CC) $(GTKFLAGS) -o noise2 noise2.c image.c fft.c $(LDFLAGS)

voidcluster: voidcluster.c image.h fft.c
	$(CC) $(GTKFLAGS) -o voidcluster fft.c voidcluster.c image.c $(LDFLAGS)

alias: alias.c image.h image.c
	$(CC) $(GTKFLAGS) -o alias alias.c fft.c image.c $(LDFLAGS)