Extend makefile to build minimal-dependency crypt_prog as well

This commit is contained in:
David Anderson 2017-01-23 14:23:54 -08:00
parent 624b26b1c3
commit d8ee4b3e4f
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
# make sign_executable with minimal dependencies, e.g. no MySQL # make sign_executable with minimal dependencies, e.g. no MySQL
# #
all: sign_executable all: sign_executable crypt_prog
sign_executable: sign_executable:
g++ -o sign_executable -I.. -I../lib ../lib/crypt.cpp ../lib/md5.cpp ../lib/md5_file.cpp ../lib/filesys.cpp ../lib/util.cpp ../lib/str_util.cpp -lssl -lcrypto sign_executable.cpp g++ -o sign_executable -I.. -I../lib ../lib/crypt.cpp ../lib/md5.cpp ../lib/md5_file.cpp ../lib/filesys.cpp ../lib/util.cpp ../lib/str_util.cpp -lssl -lcrypto sign_executable.cpp
crypt_prog:
g++ -o crypt_prog -I.. -I../lib ../lib/crypt.cpp ../lib/md5.cpp ../lib/md5_file.cpp ../lib/filesys.cpp ../lib/util.cpp ../lib/str_util.cpp -lssl -lcrypto ../lib/crypt_prog.cpp