-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
30 lines (28 loc) · 1 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
all: wellcome
@if [ ! -f "src/Makefile" ]; then \
echo "Makefile not found, run configure script before compile the code."; \
exit; \
else \
cd src && $(MAKE) $(MAKEARGS) && cd ../modules && $(MAKE) $(MAKEARGS) && cd ../src && $(MAKE) $(MAKEARGS) lang; \
cd ..; \
fi
wellcome:
@echo "****************************************"
@echo "****************************************"
@echo "************************ ,--.,---.,----."
@echo "**** ,---. {code} | | ¬_| ,--."
@echo "**** / .---., .,---.| | __, | "
@echo "**** / |---' | ---.| | |\ \'--'"
@echo "**** '---'^---'^---''---'^--^--^ ^--^--'"
@echo "****************************************"
@echo "*** { Innovating, Making The World } ***"
@echo "****************************************"
@echo "****************************************"
clean:
@if [ ! -f "src/Makefile" ]; then \
echo "Makefile not found, run configure script before compile the code."; \
exit; \
else \
cd src; $(MAKE) clean; \
cd ..; \
fi