dvbapp : TranscodingSetup update
[vuplus_openembedded] / recipes / jhead / makefile.patch
1 --- jhead-2.6/makefile  2006-04-29 16:14:59.000000000 -0700
2 +++ jhead-2.6/makefile  2006-08-17 07:59:14.000000000 -0700
3 @@ -3,13 +3,18 @@
4  #--------------------------------
5  OBJ=.
6  SRC=.
7 +DESTDIR=/usr
8 +bindir=/bin
9  
10  all: jhead
11  
12  objs = $(OBJ)/jhead.o $(OBJ)/jpgfile.o $(OBJ)/exif.o $(OBJ)/gpsinfo.o $(OBJ)/makernote.o 
13  
14  $(OBJ)/%.o:$(SRC)/%.c
15 -       ${CC} -O3 -Wall -c $< -o $@
16 +       ${CC} ${CFLAGS} -c $< -o $@
17  
18  jhead: $(objs) jhead.h
19         ${CC} -o jhead $(objs) -lm
20 +
21 +install: jhead
22 +       install -m 755 jhead $(DESTDIR)$(bindir)/jhead