clean up
This commit is contained in:
parent
b5efb8c4b4
commit
15d7e00c29
10 changed files with 196 additions and 325 deletions
14
Makefile
14
Makefile
|
|
@ -5,19 +5,15 @@ DEBUG = -g
|
|||
|
||||
prefix=/usr/local
|
||||
|
||||
all: shepherd rsa test
|
||||
all: shepherd rsa
|
||||
|
||||
shepherd: src/pwmgr.cpp src/db.cpp src/db.h
|
||||
shepherd: src/*.cpp src/*.h
|
||||
mkdir -p bin
|
||||
$(CC) $(CFLAGS) src/pwmgr.cpp src/db.cpp -o bin/shepherd -lsqlite3
|
||||
$(CC) $(CFLAGS) src/*.cpp -o bin/shepherd -lsqlite3
|
||||
|
||||
test: src/test.cpp src/db2.cpp src/db2.h
|
||||
rsa: rsa.cpp
|
||||
mkdir -p bin
|
||||
$(CC) $(CFLAGS) src/test.cpp src/db2.cpp -o bin/test -lsqlite3
|
||||
|
||||
rsa: src/rsa.cpp
|
||||
mkdir -p bin
|
||||
$(CC) $(CFLAGS) src/rsa.cpp -o bin/rsa -lssl -lcrypto
|
||||
$(CC) $(CFLAGS) rsa.cpp -o bin/rsa -lssl -lcrypto
|
||||
|
||||
install: bin/shepherd
|
||||
install -m 0755 bin/shepherd $(prefix)/bin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue