mirror of
https://bitbucket.org/Mattrixwv/cipherstream.git
synced 2025-12-06 18:33:58 -05:00
Added the Caesar Cipher to the program
This commit is contained in:
24
makefile
Normal file
24
makefile
Normal 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
|
||||
Reference in New Issue
Block a user