"Fossies" - the Fresh Open Source Software Archive

Member "jhead-3.04/makefile" (22 Nov 2019, 600 Bytes) of package /linux/privat/jhead-3.04.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "makefile": 3.03_vs_3.04.

    1 #--------------------------------
    2 # jhead makefile for Unix
    3 #--------------------------------
    4 OBJ=.
    5 SRC=.
    6 CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
    7 CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
    8 LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
    9 
   10 all: jhead
   11 
   12 objs = $(OBJ)/jhead.o $(OBJ)/jpgfile.o $(OBJ)/jpgqguess.o $(OBJ)/paths.o \
   13 	$(OBJ)/exif.o $(OBJ)/iptc.o $(OBJ)/gpsinfo.o $(OBJ)/makernote.o 
   14 
   15 $(OBJ)/%.o:$(SRC)/%.c
   16 	${CC} $(CFLAGS) $(CPPFLAGS) -c $< -o $@
   17 
   18 jhead: $(objs) jhead.h
   19 	${CC} $(LDFLAGS) -o jhead $(objs) -lm
   20 
   21 clean:
   22 	rm -f $(objs) jhead
   23 
   24 install:
   25 	cp jhead ${DESTDIR}/usr/bin/