aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-12-03 14:34:34 +0100
committerMattias Andrée <maandree@operamail.com>2015-12-03 14:34:34 +0100
commit9bcff5c34623c381896f6e1e23a9c2881489a14e (patch)
tree2addd9952c9f80e6481533e4eb6ca7d9caf2fe93 /Makefile
parentcompiler-agnostic flags (diff)
downloadlibrarian-9bcff5c34623c381896f6e1e23a9c2881489a14e.tar.gz
librarian-9bcff5c34623c381896f6e1e23a9c2881489a14e.tar.bz2
librarian-9bcff5c34623c381896f6e1e23a9c2881489a14e.tar.xz
simplify and fix bugs
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2a83fb1..9ff57c1 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ bin/librarian: obj/librarian.o
@mkdir -p bin
${CC} ${FLAGS} -o $@ $^ ${LDFLAGS}
-obj/%.o: src/%.c
+obj/%.o: src/%.c src/*.h
mkdir -p obj
${CC} ${FLAGS} -c -o $@ ${CPPFLAGS} ${CFLAGS} $<