Mercurial > hg > minimon
view 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 |
line wrap: on
line source
all: minimon fbt minimon: minimon.c jpg.c $(CC) $(CFLAGS) -I. -Wall -g -o $@ minimon.c jpg.c fb.c -lusb -ljpeg fbt: fbt.c jpg.c $(CC) $(CFLAGS) -I. -Wall -g -o $@ fbt.c jpg.c -ljpeg clean: rm -f minimon fbt install: install -d $(DESTDIR)/usr/bin install -s minimon $(DESTDIR)/usr/bin