aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1ab3187..f91d104 100644
--- a/Makefile
+++ b/Makefile
@@ -118,11 +118,11 @@ bin/libpassphrase.a: obj/passphrase.o
bin/test: bin/libpassphrase.so obj/test.o
$(CC) $(LD_FLAGS) -Lbin -lpassphrase -o "$@" obj/test.o $(LDFLAGS)
-obj/passphrase.o: src/passphrase.c src/passphrase.h src/passphrase_helper.h
+obj/passphrase.o: src/passphrase.c src/*.h
@mkdir -p "$(shell dirname "$@")"
$(CC) $(CC_FLAGS) -fPIC -o "$@" -c "$<" $(CFLAGS) $(CPPFLAGS)
-obj/test.o: src/test.c src/test.h
+obj/test.o: src/test.c src/test.h src/passphrase.h
@mkdir -p "$(shell dirname "$@")"
$(CC) $(CC_FLAGS) -o "$@" -c "$<" $(CFLAGS) $(CPPFLAGS)