-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
21 lines (21 loc) · 1016 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#lexems
tokenizing.o:tokenizing.cpp interpretlib.h
g++ -Wall -g -c tokenizing.cpp -o tokenizing.o
token:tmain.cpp tokenizing.o interpretlib.h
g++ -Wall -g tokenizing.o tmain.cpp -o token
#syntax + semantic + poliz
syntax.o:syntax.cpp interpretlib.h
g++ -Wall -g -c syntax.cpp -o syntax.o
semantic.o:semantic.cpp interpretlib.h
g++ -Wall -g -c semantic.cpp -o semantic.o
execute.o:execute.cpp interpretlib.h
g++ -Wall -g -c execute.cpp -o execute.o
main: polizmain.cpp tokenizing.o syntax.o semantic.o execute.o interpretlib.h
g++ -Wall -g polizmain.cpp tokenizing.o syntax.o semantic.o execute.o -o js
#server
./http/ssocket.o:./http/server_socket.cpp ./http/server_socket.h
g++ -Wall -g -c ./http/server_socket.cpp -o ./http/ssocket.o
./http/accept.o:./http/on_accept.cpp ./http/server_socket.h
g++ -Wall -g -c ./http/on_accept.cpp -o ./http/accept.o
smain: ./http/server.cpp ./http/ssocket.o ./http/accept.o ./http/server_socket.h
g++ -Wall -g ./http/server.cpp ./http/ssocket.o ./http/accept.o -o server