1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
all: yuvtool text2yuv 1088_crop srcs=bmp2yuv.c main.c ../utils/psnr.c ../utils/ssim.c cflags=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE yuvtool: $(srcs) gcc -o yuvtool -g -Wall $(srcs) $(cflags) -I. -lXv -lm text2yuv: text2yuv.c gcc -o text2yuv text2yuv.c 1080_crop: 1088_crop.c gcc -o 1088_crop 1088_crop.c clean: rm -rf *.o yuvtool text2yuv 1088_crop