Skip to content

Commit

Permalink
Not sure what is going on, git is too complicated
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias-Wandel committed May 30, 2021
2 parents bf81029 + c0c78ab commit be7e43c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion makefile
Expand Up @@ -3,6 +3,7 @@
#--------------------------------
OBJ=obj
SRC=.
CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)

Expand All @@ -15,7 +16,7 @@ objs = $(OBJ)/jhead.o $(OBJ)/jpgfile.o $(OBJ)/jpgqguess.o $(OBJ)/paths.o \
$(OBJ)/exif.o $(OBJ)/iptc.o $(OBJ)/gpsinfo.o $(OBJ)/makernote.o

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

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

0 comments on commit be7e43c

Please sign in to comment.