Mercurial > hg > minimon
annotate 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 |
rev | line source |
---|---|
10
078dc69945ad
working: libjpeg-turbo support, handle fb and monitor with different size
Peter Meerwald <pmeerw@pmeerw.net>
parents:
7
diff
changeset
|
1 # CC=gcc -O2 -march=native -fomit-frame-pointer |
078dc69945ad
working: libjpeg-turbo support, handle fb and monitor with different size
Peter Meerwald <pmeerw@pmeerw.net>
parents:
7
diff
changeset
|
2 |
11
8fadd7877f6b
build only minimon per default
Peter Meerwald <pmeerw@pmeerw.net>
parents:
10
diff
changeset
|
3 all: minimon |
1 | 4 |
2
bac8ed8d6eb9
add jpeg coding and test stuff
Peter Meerwald <pmeerw@pmeerw.net>
parents:
1
diff
changeset
|
5 minimon: minimon.c jpg.c |
5 | 6 $(CC) $(CFLAGS) -I. -Wall -g -o $@ minimon.c jpg.c fb.c -lusb -ljpeg |
2
bac8ed8d6eb9
add jpeg coding and test stuff
Peter Meerwald <pmeerw@pmeerw.net>
parents:
1
diff
changeset
|
7 |
10
078dc69945ad
working: libjpeg-turbo support, handle fb and monitor with different size
Peter Meerwald <pmeerw@pmeerw.net>
parents:
7
diff
changeset
|
8 minimon-turbo: minimon.c jpg.c |
078dc69945ad
working: libjpeg-turbo support, handle fb and monitor with different size
Peter Meerwald <pmeerw@pmeerw.net>
parents:
7
diff
changeset
|
9 $(CC) $(CFLAGS) -DHAVE_LIBJPEG_TURBO -I. -I../libjpeg-turbo -Wall -g -o $@ minimon.c jpg.c fb.c -lusb ../libjpeg-turbo/.libs/libturbojpeg.a |
078dc69945ad
working: libjpeg-turbo support, handle fb and monitor with different size
Peter Meerwald <pmeerw@pmeerw.net>
parents:
7
diff
changeset
|
10 |
3 | 11 fbt: fbt.c jpg.c |
5 | 12 $(CC) $(CFLAGS) -I. -Wall -g -o $@ fbt.c jpg.c -ljpeg |
1 | 13 |
14 clean: | |
10
078dc69945ad
working: libjpeg-turbo support, handle fb and monitor with different size
Peter Meerwald <pmeerw@pmeerw.net>
parents:
7
diff
changeset
|
15 rm -f minimon minimon-turbo fbt |
1 | 16 |
17 install: | |
7
5c00b239e1c8
improve Makefile (install)
Peter Meerwald <pmeerw@pmeerw.net>
parents:
6
diff
changeset
|
18 install -d $(DESTDIR)/usr/bin |
5c00b239e1c8
improve Makefile (install)
Peter Meerwald <pmeerw@pmeerw.net>
parents:
6
diff
changeset
|
19 install -s minimon $(DESTDIR)/usr/bin |
6
3819ecaf0f14
avoiding clash with latest libjpeg
Peter Meerwald <pmeerw@pmeerw.net>
parents:
5
diff
changeset
|
20 |