view Makefile @ 10:078dc69945ad

working: libjpeg-turbo support, handle fb and monitor with different size
author Peter Meerwald <pmeerw@pmeerw.net>
date Sun, 15 May 2011 17:48:57 +0200
parents 5c00b239e1c8
children 8fadd7877f6b
line wrap: on
line source

# CC=gcc -O2 -march=native -fomit-frame-pointer

all: minimon minimon-turbo

minimon: minimon.c jpg.c
	$(CC) $(CFLAGS) -I. -Wall -g -o $@ minimon.c jpg.c fb.c -lusb -ljpeg

minimon-turbo: minimon.c jpg.c
	$(CC) $(CFLAGS) -DHAVE_LIBJPEG_TURBO -I. -I../libjpeg-turbo -Wall -g -o $@ minimon.c jpg.c fb.c -lusb ../libjpeg-turbo/.libs/libturbojpeg.a

fbt: fbt.c jpg.c
	$(CC) $(CFLAGS) -I. -Wall -g -o $@ fbt.c jpg.c -ljpeg
	
clean:
	rm -f minimon minimon-turbo fbt
	
install:
	install -d $(DESTDIR)/usr/bin
	install -s minimon $(DESTDIR)/usr/bin

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.