-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (33 loc) · 1.21 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
# +----------------------------------------------------------------------------+
# | XMMEEC v0.3 * Environment characteristic editor for MMxD devices |
# | Copyright (C) 2019-2022 Pozsár Zsolt <pozsar.zsolt@szerafingomba.hu> |
# | Makefile |
# | Makefile for Unix-like systems |
# +----------------------------------------------------------------------------+
include ./Makefile.global
dirs = desktop documents languages manuals settings source
srcdirs = source
all:
@echo Compiling $(name):
@for dir in $(srcdirs); do \
if [ -e Makefile ]; then make -s -C $$dir all; fi; \
done
@echo "Source code is compiled."
clean:
@echo Cleaning source code:
@for dir in $(srcdirs); do \
if [ -e Makefile ]; then make -s -C $$dir clean; fi; \
done
@echo "Source code is cleaned."
install:
@echo Installing $(name):
@for dir in $(dirs); do \
if [ -e Makefile ]; then make -s -C $$dir install; fi; \
done
@echo "Application is installed."
uninstall:
@echo Removing $(name):
@for dir in $(dirs); do \
if [ -e Makefile ]; then make -s -C $$dir uninstall; fi; \
done
@echo "Application is removed."