-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
91 lines (75 loc) · 4.65 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# This file was auto-generated by Polybuild
compiler := $(CXX)
compilation_flags := -Wall -std=c++14 -Ofast -pthread
libraries := -lssl -lcrypto
default: declengine
.PHONY: default
obj/translate_0.o: ./translate.cpp ./Polyweb/string.hpp ./json.hpp ./words.hpp ./json_fwd.hpp
@printf '\033[1m[POLYBUILD]\033[0m Compiling $@ from $<...\n'
@mkdir -p obj
@$(compiler) -c $< $(compilation_flags) -o $@
@printf '\033[1m[POLYBUILD]\033[0m Finished compiling $@ from $<!\n'
obj/dictionary_0.o: ./dictionary.cpp ./dictionary.hpp ./words.hpp ./json_fwd.hpp ./Polyweb/string.hpp
@printf '\033[1m[POLYBUILD]\033[0m Compiling $@ from $<...\n'
@mkdir -p obj
@$(compiler) -c $< $(compilation_flags) -o $@
@printf '\033[1m[POLYBUILD]\033[0m Finished compiling $@ from $<!\n'
obj/main_0.o: ./main.cpp ./Polyweb/polyweb.hpp ./Polyweb/Polynet/polynet.hpp ./Polyweb/Polynet/secure_sockets.hpp ./Polyweb/Polynet/smart_sockets.hpp ./Polyweb/string.hpp ./Polyweb/threadpool.hpp ./dictionary.hpp ./words.hpp ./json_fwd.hpp ./json.hpp
@printf '\033[1m[POLYBUILD]\033[0m Compiling $@ from $<...\n'
@mkdir -p obj
@$(compiler) -c $< $(compilation_flags) -o $@
@printf '\033[1m[POLYBUILD]\033[0m Finished compiling $@ from $<!\n'
obj/tokenize_0.o: ./tokenize.cpp ./words.hpp ./json_fwd.hpp
@printf '\033[1m[POLYBUILD]\033[0m Compiling $@ from $<...\n'
@mkdir -p obj
@$(compiler) -c $< $(compilation_flags) -o $@
@printf '\033[1m[POLYBUILD]\033[0m Finished compiling $@ from $<!\n'
obj/serialize_0.o: ./serialize.cpp ./json.hpp ./words.hpp ./json_fwd.hpp
@printf '\033[1m[POLYBUILD]\033[0m Compiling $@ from $<...\n'
@mkdir -p obj
@$(compiler) -c $< $(compilation_flags) -o $@
@printf '\033[1m[POLYBUILD]\033[0m Finished compiling $@ from $<!\n'
obj/server_0.o: Polyweb/server.cpp Polyweb/polyweb.hpp Polyweb/Polynet/polynet.hpp Polyweb/Polynet/secure_sockets.hpp Polyweb/Polynet/smart_sockets.hpp Polyweb/string.hpp Polyweb/threadpool.hpp
@printf '\033[1m[POLYBUILD]\033[0m Compiling $@ from $<...\n'
@mkdir -p obj
@$(compiler) -c $< $(compilation_flags) -o $@
@printf '\033[1m[POLYBUILD]\033[0m Finished compiling $@ from $<!\n'
obj/client_0.o: Polyweb/client.cpp Polyweb/polyweb.hpp Polyweb/Polynet/polynet.hpp Polyweb/Polynet/secure_sockets.hpp Polyweb/Polynet/smart_sockets.hpp Polyweb/string.hpp Polyweb/threadpool.hpp
@printf '\033[1m[POLYBUILD]\033[0m Compiling $@ from $<...\n'
@mkdir -p obj
@$(compiler) -c $< $(compilation_flags) -o $@
@printf '\033[1m[POLYBUILD]\033[0m Finished compiling $@ from $<!\n'
obj/string_0.o: Polyweb/string.cpp Polyweb/string.hpp
@printf '\033[1m[POLYBUILD]\033[0m Compiling $@ from $<...\n'
@mkdir -p obj
@$(compiler) -c $< $(compilation_flags) -o $@
@printf '\033[1m[POLYBUILD]\033[0m Finished compiling $@ from $<!\n'
obj/polyweb_0.o: Polyweb/polyweb.cpp Polyweb/polyweb.hpp Polyweb/Polynet/polynet.hpp Polyweb/Polynet/secure_sockets.hpp Polyweb/Polynet/smart_sockets.hpp Polyweb/string.hpp Polyweb/threadpool.hpp
@printf '\033[1m[POLYBUILD]\033[0m Compiling $@ from $<...\n'
@mkdir -p obj
@$(compiler) -c $< $(compilation_flags) -o $@
@printf '\033[1m[POLYBUILD]\033[0m Finished compiling $@ from $<!\n'
obj/websocket_0.o: Polyweb/websocket.cpp Polyweb/polyweb.hpp Polyweb/Polynet/polynet.hpp Polyweb/Polynet/secure_sockets.hpp Polyweb/Polynet/smart_sockets.hpp Polyweb/string.hpp Polyweb/threadpool.hpp
@printf '\033[1m[POLYBUILD]\033[0m Compiling $@ from $<...\n'
@mkdir -p obj
@$(compiler) -c $< $(compilation_flags) -o $@
@printf '\033[1m[POLYBUILD]\033[0m Finished compiling $@ from $<!\n'
obj/secure_sockets_0.o: Polyweb/Polynet/secure_sockets.cpp Polyweb/Polynet/secure_sockets.hpp Polyweb/Polynet/polynet.hpp
@printf '\033[1m[POLYBUILD]\033[0m Compiling $@ from $<...\n'
@mkdir -p obj
@$(compiler) -c $< $(compilation_flags) -o $@
@printf '\033[1m[POLYBUILD]\033[0m Finished compiling $@ from $<!\n'
obj/polynet_0.o: Polyweb/Polynet/polynet.cpp Polyweb/Polynet/polynet.hpp Polyweb/Polynet/secure_sockets.hpp
@printf '\033[1m[POLYBUILD]\033[0m Compiling $@ from $<...\n'
@mkdir -p obj
@$(compiler) -c $< $(compilation_flags) -o $@
@printf '\033[1m[POLYBUILD]\033[0m Finished compiling $@ from $<!\n'
declengine: obj/translate_0.o obj/dictionary_0.o obj/main_0.o obj/tokenize_0.o obj/serialize_0.o obj/server_0.o obj/client_0.o obj/string_0.o obj/polyweb_0.o obj/websocket_0.o obj/secure_sockets_0.o obj/polynet_0.o
@printf '\033[1m[POLYBUILD]\033[0m Building $@...\n'
@$(compiler) $^ $(compilation_flags) $(libraries) -o $@
@printf '\033[1m[POLYBUILD]\033[0m Finished building $@!\n'
clean:
@printf '\033[1m[POLYBUILD]\033[0m Deleting declengine and obj...\n'
@rm -rf declengine obj
@printf '\033[1m[POLYBUILD]\033[0m Finished deleting declengine and obj!\n'
.PHONY: clean