forked from TusharRakheja/Autolang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (26 loc) · 1.03 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
# Makes the interpreter for Autolang Version 2.
# MACROS
CXX = g++
SOURCE = Files/Source\ Files/
HEADER = Files/Header\ Files/
FLAGS = -std=c++14 -w
OBJS = Interpreter.o Auto.o ExpressionTree.o Logical.o Map.o Set.o Tuple.o
# TARGETS
auto : $(OBJS)
$(CXX) -o auto $(OBJS)
Set.o : $(SOURCE)Set.cpp $(HEADER)Set.h $(HEADER)ExpressionTree.h
$(CXX) -c $(FLAGS) $(SOURCE)Set.cpp
Tuple.o : $(SOURCE)Tuple.cpp $(HEADER)Tuple.h $(HEADER)Set.h $(HEADER)ExpressionTree.h
$(CXX) -c $(FLAGS) $(SOURCE)Tuple.cpp
Logical.o : $(SOURCE)Logical.cpp $(HEADER)Logical.h
$(CXX) -c $(FLAGS) $(SOURCE)Logical.cpp
Map.o : $(SOURCE)Map.cpp $(HEADER)Map.h
$(CXX) -c $(FLAGS) $(SOURCE)Map.cpp
Auto.o : $(SOURCE)Auto.cpp $(HEADER)Auto.h
$(CXX) -c $(FLAGS) $(SOURCE)Auto.cpp
ExpressionTree.o : $(SOURCE)ExpressionTree.cpp $(HEADER)ExpressionTree.h
$(CXX) -c $(FLAGS) $(SOURCE)ExpressionTree.cpp
Interpreter.o : $(SOURCE)Interpreter.cpp $(HEADER)ExpressionTree.h
$(CXX) -c $(FLAGS) $(SOURCE)Interpreter.cpp
clean :
rm $(OBJS)