Mercurial > hg > minimon
annotate Makefile @ 7:5c00b239e1c8
improve Makefile (install)
author | Peter Meerwald <pmeerw@pmeerw.net> |
---|---|
date | Tue, 10 May 2011 19:22:13 +0200 |
parents | 3819ecaf0f14 |
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 |