-
Notifications
You must be signed in to change notification settings - Fork 10
/
Makefile
32 lines (19 loc) · 937 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
include /home/ubuntu/ate-pairing/common.mk
HEADER= /home/ubuntu/ate-pairing/include/zm.h /home/ubuntu/ate-pairing/include/bn.h /home/ubuntu/ate-pairing/include/zm2.h test_point.hpp database.hpp
TARGET= server client common_functions skiplist_functions /home/ubuntu/ate-pairing/lib/libzm.a
LDFLAGS += -lntl -lmysqlclient -std=c++0x -lssl -lcrypto
OBJ = server.o client.o common_functions.o skiplist_functions.o
all:$(TARGET)
.SUFFIXES: .cpp .o
create: createtables.o
$(CXX) -o createtables createtables.o
main: $(OBJ) /home/ubuntu/ate-pairing/lib/libzm.a
$(CXX) -o main server.o client.o common_functions.o skiplist_functions.o $(LDFLAGS) $(BIT)
clean:
$(RM) *.o $(TARGET)
$(MAKE) -C /home/ubuntu/ate-pairing/src clean
client.o: client.cpp $(HEADER)
common_functions.o: common_functions.cpp $(HEADER)
server.o: server.cpp $(HEADER)
skiplist_functions.o: skiplist_functions.cpp $(HEADER)
createtables.o: createtables.cpp