-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
51 lines (38 loc) · 1.05 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
##
## Makefile for Makefile in /home/jean.walrave/projects/epitech/abstractVM_2016
##
## Made by Jean Walrave
## Login <[email protected]>
##
## Started on Thu Jul 20 10:46:23 2017 Jean Walrave
## Last update Wed Jul 26 09:05:02 2017 Jean Walrave
##
PROJECT = abstractVM
SRCS = sources/AbstractVM.cpp \
sources/Exception.cpp \
sources/Factory.cpp \
sources/component/CPUComponent.cpp \
sources/component/MemoryComponent.cpp \
sources/component/ChipsetComponent.cpp \
sources/component/IOComponent.cpp \
sources/operand/Int8.cpp \
sources/operand/Int16.cpp \
sources/operand/Int32.cpp \
sources/operand/Float.cpp \
sources/operand/Double.cpp \
sources/operand/BigDecimal.cpp \
sources/operand/AbstractOperand.cpp \
OBJS = $(SRCS:.cpp=.o)
CXX = g++
RM = rm -rf
CFLAGS += -std=c++14 -W -Wall -Werror
CPPFLAGS += -Iincludes/
all: $(PROJECT)
$(PROJECT): $(OBJS)
$(CXX) -o $(PROJECT) $(OBJS)
clean:
$(RM) $(OBJS)
fclean: clean
$(RM) $(PROJECT)
re: fclean all
.PHONY: all clean fclean re