1S = hex/shader_256.hex \ 2 hex/shader_512.hex \ 3 hex/shader_1k.hex \ 4 hex/shader_2k.hex \ 5 hex/shader_4k.hex \ 6 hex/shader_8k.hex \ 7 hex/shader_16k.hex \ 8 hex/shader_32k.hex \ 9 hex/shader_64k.hex \ 10 hex/shader_128k.hex \ 11 hex/shader_256k.hex \ 12 hex/shader_512k.hex \ 13 hex/shader_1024k.hex \ 14 hex/shader_2048k.hex \ 15 hex/shader_4096k.hex 16 17C = mailbox.c gpu_fft.c gpu_fft_base.c gpu_fft_twiddles.c gpu_fft_shaders.c 18 19C1D = $(C) hello_fft.c 20C2D = $(C) hello_fft_2d.c gpu_fft_trans.c 21 22H1D = gpu_fft.h mailbox.h 23H2D = gpu_fft.h mailbox.h gpu_fft_trans.h hello_fft_2d_bitmap.h 24 25F = -lrt -lm -ldl 26 27all: hello_fft.bin hello_fft_2d.bin 28 29hello_fft.bin: $(S) $(C1D) $(H1D) 30 gcc -o hello_fft.bin $(F) $(C1D) 31 32hello_fft_2d.bin: $(S) hex/shader_trans.hex $(C2D) $(H2D) 33 gcc -o hello_fft_2d.bin $(F) $(C2D) 34 35clean: 36 rm -f *.bin 37