summaryrefslogtreecommitdiff
path: root/test/tpm_test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/tpm_test/Makefile')
-rw-r--r--test/tpm_test/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tpm_test/Makefile b/test/tpm_test/Makefile
index 806dc02d42..8eefed5a3e 100644
--- a/test/tpm_test/Makefile
+++ b/test/tpm_test/Makefile
@@ -58,7 +58,7 @@ $(obj)/%.o: $(obj)/%.c
$(obj)/%.o: %.c
$(call echo," CC $(notdir $@)")
- $(Q)gcc $(CFLAGS) -Wall -Werror -MMD -MF $@.d -o $@ $<
+ $(Q)gcc $(CFLAGS) -Wall -Werror -MMD -MF $@.d -MT $@ -o $@ $<
$(obj)/_$(TARGET).so: $(OBJS) $(obj)/$(TARGET).py
$(call echo," LD $(notdir $@)")