-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (35 loc) · 1.33 KB
/
Makefile
File metadata and controls
43 lines (35 loc) · 1.33 KB
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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: afaucher <afaucher@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2015/06/11 15:29:28 by afaucher #+# #+# #
# Updated: 2015/10/09 15:11:32 by afaucher ### ########.fr #
# #
# **************************************************************************** #
RM = /bin/rm
SOURCES = src/data.scala \
src/expertSystem.scala \
src/lexer.scala \
src/parser.scala \
src/tree.scala \
S = scala
SC = scalac
TARGET = .
CP = .
NAME = ExpertSystem
NO_COLOR=\x1b[0m
OK_COLOR=\x1b[32;01m
WARN_COLOR=\x1b[33;01m
all: $(NAME)
$(NAME):
@echo "$(OK_COLOR)Compiling...$(NO_COLOR)"
@$(SC) -cp $(CP) -d $(TARGET) $(SOURCES)
clean:
@echo "$(WARN_COLOR)"
$(RM) -rf expertSystem
@echo "$(NO_COLOR)"
fclean: clean
re: fclean all