view Makefile @ 11:8fadd7877f6b default tip

build only minimon per default
author Peter Meerwald <pmeerw@pmeerw.net>
date Sun, 15 May 2011 18:58:44 +0200
parents 078dc69945ad
children
line wrap: on
line source

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

all: minimon

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.