-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
pacifistes
committed
Oct 16, 2018
1 parent
34c7ddd
commit 68c234b
Showing
20 changed files
with
768 additions
and
554 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
NAME = abstractVm | ||
FLAGS = -std=c++14 -Wall -Wextra -Werror | ||
INCLUDE = includes/ | ||
SRCSPATH = srcs/ | ||
SRCS = Operand.cpp OperandFactory.cpp Stack.cpp StackManager.cpp eOperandType.cpp main.cpp | ||
OBJ= $(SRC:.cpp=.o) | ||
CC = clang++ | ||
|
||
SRC = $(addprefix $(SRCSPATH), $(SRCS)) | ||
|
||
%.o: %.cpp | ||
$(CC) -I $(INCLUDE) -c $(FLAGS) $< -o $@ | ||
|
||
all: $(NAME) | ||
|
||
$(NAME): $(OBJ) | ||
$(CC) $(FLAGS) -I $(INCLUDE) -o $(NAME) $(OBJ) | ||
|
||
clean: | ||
rm -f $(OBJ) | ||
|
||
fclean: | ||
rm -f $(NAME) $(OBJ) | ||
|
||
re: fclean all | ||
|
||
.PHONY: all clean fclean re |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.