Mercurial > hg > minimon
annotate Makefile @ 9:c7af696b6221
fix
author | Peter Meerwald <pmeerw@pmeerw.net> |
---|---|
date | Sat, 14 May 2011 23:08:11 +0200 |
parents | 5c00b239e1c8 |
children | 078dc69945ad |
rev | line source |
---|---|
2
bac8ed8d6eb9
add jpeg coding and test stuff
Peter Meerwald <pmeerw@pmeerw.net>
parents:
1
diff
changeset
|
1 all: minimon fbt |
1 | 2 |
2
bac8ed8d6eb9
add jpeg coding and test stuff
Peter Meerwald <pmeerw@pmeerw.net>
parents:
1
diff
changeset
|
3 minimon: minimon.c jpg.c |
5 | 4 $(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
|
5 |
3 | 6 fbt: fbt.c jpg.c |
5 | 7 $(CC) $(CFLAGS) -I. -Wall -g -o $@ fbt.c jpg.c -ljpeg |
1 | 8 |
9 clean: | |
6
3819ecaf0f14
avoiding clash with latest libjpeg
Peter Meerwald <pmeerw@pmeerw.net>
parents:
5
diff
changeset
|
10 rm -f minimon fbt |
1 | 11 |
12 install: | |
7
5c00b239e1c8
improve Makefile (install)
Peter Meerwald <pmeerw@pmeerw.net>
parents:
6
diff
changeset
|
13 install -d $(DESTDIR)/usr/bin |
5c00b239e1c8
improve Makefile (install)
Peter Meerwald <pmeerw@pmeerw.net>
parents:
6
diff
changeset
|
14 install -s minimon $(DESTDIR)/usr/bin |
6
3819ecaf0f14
avoiding clash with latest libjpeg
Peter Meerwald <pmeerw@pmeerw.net>
parents:
5
diff
changeset
|
15 |