X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/be2cd404c2c5857a09d94a224a40b307bf531911..b891363d4c0fcbd936e73a5d421ab7bc1c463994:/CipherImg/Makefile

diff --git a/CipherImg/Makefile b/CipherImg/Makefile
index cfd7510..0545936 100644
--- a/CipherImg/Makefile
+++ b/CipherImg/Makefile
@@ -17,6 +17,8 @@ endif
 %.o: %.c 
 	$(C) -c -o $@ $< $(CFLAGS)
 
+%.o: %.cpp
+	$(CXX) -c -o $@ $< $(CFLAGS)
 
 test_sub_perm: test_sub_perm.o
 	$(CXX)  -o $@ $^ $(CFLAGS)