initscripts-shr: remove devtmpfs initscript for palmpre machine
[openembedded.git] / recipes / jhead / makefile.patch
blob1d7b8e0f1132b028268f06f4645b358443791369
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
10 all: jhead
12 objs = $(OBJ)/jhead.o $(OBJ)/jpgfile.o $(OBJ)/exif.o $(OBJ)/gpsinfo.o $(OBJ)/makernote.o
14 $(OBJ)/%.o:$(SRC)/%.c
15 - ${CC} -O3 -Wall -c $< -o $@
16 + ${CC} ${CFLAGS} -c $< -o $@
18 jhead: $(objs) jhead.h
19 ${CC} -o jhead $(objs) -lm
21 +install: jhead
22 + install -m 755 jhead $(DESTDIR)$(bindir)/jhead