#--------------------------------
# jhead makefile for FreeBSD
# $FreeBSD: ports/graphics/jhead/files/Makefile,v 1.2 2002/05/14 21:45:46 pat Exp $
#--------------------------------

OBJ=.
SRC=.

all: jhead

objs = $(OBJ)/jhead.o $(OBJ)/jpgfile.o $(OBJ)/exif.o

$(OBJ)/%.o:$(SRC)/%.c
	${CC} ${CFLAGS} -Wall -c $< -o $@

jhead: $(objs) jhead.h
	${CC} -o jhead $(objs) -lm
