aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2016-02-25 10:46:21 +0000
committerHarry Jeffery <harry@exec64.co.uk>2016-02-25 10:46:21 +0000
commit809aa390bf2c0acd1307134d298aaa4d1a4e3c74 (patch)
tree32b39b3e4729363d0f41be2cd665f70ab05b917a /Makefile
parentbc90a0adcc5b22d2bf0158333eb6dfb34c402d48 (diff)
parent66de2c49e55fcb260ea8cfdbc997d8acfb59413a (diff)
downloadimv-809aa390bf2c0acd1307134d298aaa4d1a4e3c74.tar.gz
Merge pull request #82 from czarkoff/exif
Use Exif rotation for JPEG images
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 71f5c9f..88880a8 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ TARGET := $(BUILDDIR)/imv
SOURCES := $(wildcard src/*.c)
OBJECTS := $(patsubst src/%.c,$(BUILDDIR)/%.o,$(SOURCES))
TESTS := $(patsubst test/%.c,$(BUILDDIR)/test_%,$(wildcard test/*.c))
+TFLAGS ?= -g ${CFLAGS}
VERSION = "v2.0.0"
@@ -44,11 +45,11 @@ $(BUILDDIR)/%.o: src/%.c
$(BUILDDIR)/test_%: test/%.c src/%.c
@echo "BUILDING $@"
- $(MUTE)$(CC) -o $@ -Isrc -W -Wall $(CFLAGS) $(LDFLAGS) -std=gnu11 -lcmocka $^
+ $(MUTE)$(CC) -o $@ -Isrc $(TFLAGS) $(LDFLAGS) -std=gnu11 -lcmocka $^
check: $(BUILDDIR) $(TESTS)
@echo "RUNNING TESTS"
- $(MUTE)for t in "$(TESTS)"; do $$t; done
+ $(MUTE)for t in $(TESTS); do $$t; done
clean:
$(MUTE)$(RM) -Rf $(BUILDDIR)