#--------------------------------
# jhead makefile for FreeBSD
# $FreeBSD: ports/graphics/jhead/files/Makefile,v 1.1 2001/12/19 10:00:41 petef Exp $
#--------------------------------

OBJ=.
SRC=.

all: jhead

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

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

jhead: $(objs) jhead.h
	cc -o jhead $(objs) -lm
