File: makefile

package info (click to toggle)
jhead 2.84-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 344 kB
  • ctags: 374
  • sloc: ansic: 3,679; sh: 146; makefile: 53
file content (16 lines) | stat: -rw-r--r-- 346 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#--------------------------------
# jhead makefile for Unix
#--------------------------------
OBJ=.
SRC=.
CFLAGS?= -O3

all: jhead

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

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

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