diff --git a/src/Makefile b/src/Makefile
index 67a637f7670c7cff4bceec9dc36a2bbc4ffac1f1..027747984d52f208ba62129843893af67ba2c125 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -19,6 +19,9 @@ all: tensormatrix_mpi
 tensormatrix_mpi: $(MPIOBJ)
 	$(MPILD)  -o $@ $^ $(LDOPT)
 
+tensormatrix: tensormatrix.o
+	$(LD) -o $@ $^ $(LDOPT)
+
 %.o: %.cpp
 	$(MPICXX) $(CFLAGS) -o $@ -c $<