-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (28 loc) · 817 Bytes
/
Makefile
File metadata and controls
36 lines (28 loc) · 817 Bytes
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
TARGET = main
CC = g++
CFLAGS = -O3 -g -w #-Wall #-fsanitize=address
APP_DIR = ./App/
SRC_DIR = ./Source/
LIBS_DIR = ./Libs/
SRC = $(APP_DIR)main.cpp \
$(LIBS_DIR)Stack/Source/Stack.cpp \
$(LIBS_DIR)Logging/Log.cpp \
$(SRC_DIR)CheckFile.cpp \
$(SRC_DIR)Tree.cpp \
$(SRC_DIR)TreeDump.cpp \
$(SRC_DIR)ExpressionParams.cpp \
$(SRC_DIR)ExpressionReader.cpp \
$(SRC_DIR)Interactors.cpp \
$(SRC_DIR)TexTreeTranslateFunctions.cpp \
$(SRC_DIR)TreeSimplifyFunctions.cpp \
$(SRC_DIR)MathFunctions.cpp \
$(SRC_DIR)TexCreateFunctions.cpp
all : create_dirs compile
create_dirs:
@mkdir -p ./TexFiles ./TreeDump ./Log
compile:
@$(CC) $(CFLAGS) $(SRC) -o $(TARGET)
explore: ./$(TARGET) ./Log
./$(TARGET) > ./Log/Out.txt
clean :
@rm -f *.o $(TARGET)