Added the Caesar Cipher to the program

This commit is contained in:
2018-04-25 18:58:05 -04:00
parent 422d38ed6f
commit 3503a42e77
5 changed files with 380 additions and 0 deletions

24
makefile Normal file
View File

@@ -0,0 +1,24 @@
#For Linux
All: libCaesar.a libPlayfair.a Ciphers
#For Windows
WindowsAll: libCaesar.lib libPlayfair.lib Ciphers.exe
libCaesar.a: SourceFiles/Caesar.cpp
(CXX) -shared -std=c++11 -O3 -fPIC -o $@ $<
libPlayfair.a: SourceFiles/Playfair.cpp
(CXX) -shared -std=c++11 -O3 -fPIC -o $@ $<
Ciphers: main.cpp
(CXX) -O3 -std=c++11 -o $@ $< -lCaesar -lPlayfair
libCaesar.lib: SourceFiles/Caesar.cpp
g++ -shared -std=c++11 -O3 -fPIC -o $@ $<
libPlayfair.lib: SourceFiles/Caesar.cpp
g++ -shared -std=c++11 -O3 -fPIC -o $@ $<
Ciphers.exe: main.cpp
g++ -std=c++11 -O3 -o $@ $< -L./ -llibCaesar -llibPlayfair