Switch from epoll to libevent, to add OS X support.
This commit is contained in:
10
Makefile
10
Makefile
@@ -1,16 +1,16 @@
|
||||
all: auth-client auth-server gen-key gen-keypair
|
||||
|
||||
%.o: %.cc
|
||||
g++ -std=c++11 -c -o $@ $<
|
||||
g++ -I/usr/local/include -std=c++11 -c -o $@ $<
|
||||
|
||||
auth-client: auth-client.o crypto.o tlv.o
|
||||
g++ -o auth-client auth-client.o crypto.o tlv.o -lsodium
|
||||
g++ -L/usr/local/lib -o auth-client auth-client.o crypto.o tlv.o -lsodium -levent
|
||||
|
||||
auth-server: auth-server.o crypto.o tlv.o
|
||||
g++ -o auth-server auth-server.o crypto.o tlv.o -lsodium
|
||||
g++ -L/usr/local/lib -o auth-server auth-server.o crypto.o tlv.o -lsodium -levent
|
||||
|
||||
gen-key: gen-key.o crypto.o tlv.o
|
||||
g++ -o gen-key gen-key.o crypto.o tlv.o -lsodium
|
||||
g++ -L/usr/local/lib -o gen-key gen-key.o crypto.o tlv.o -lsodium -levent
|
||||
|
||||
gen-keypair: gen-keypair.o crypto.o tlv.o
|
||||
g++ -o gen-keypair gen-keypair.o crypto.o tlv.o -lsodium
|
||||
g++ -L/usr/local/lib -o gen-keypair gen-keypair.o crypto.o tlv.o -lsodium -levent
|
||||
|
||||
Reference in New Issue
Block a user