forked from ghaerr/elks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
64 lines (54 loc) · 1.35 KB
/
Copy pathMakefile
File metadata and controls
64 lines (54 loc) · 1.35 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Makefile for the ELKS command set.
#
###############################################################################
#
# Include standard rules.
BASEDIR = .
include $(BASEDIR)/Makefile-rules
###############################################################################
#
# Subdirectories for clean / build / install
# All subdirectories to build & clean
# unused commands but working compilations: nano levee
SUBDIRS = \
lib \
advent \
ash \
basic \
bc \
busyelks \
debug \
disk_utils \
fsck_dos \
elvis \
file_utils \
inet \
ktcp \
minix1 \
minix2 \
minix3 \
misc_utils \
nano-X \
sash \
screen \
cron \
sh_utils \
sys_utils \
tui \
test \
# EOL
###############################################################################
#
# Compile everything.
all:
@if [ ! -e $(TOPDIR)/include/autoconf.h ]; \
then echo -e "\n*** ERROR: You must configure ELKS first ***\n" >&2; exit 1; fi
for DIR in $(SUBDIRS); do $(MAKE) -C $$DIR all || exit 1; done
ifdef CONFIG_APP_ROMPRG
$(MAKE) -C romprg
endif
install:
$(MAKE) -f Make.install "CONFIG=$(TOPDIR)/.config"
clean:
for DIR in $(SUBDIRS); do $(MAKE) -C $$DIR clean || exit 1; done
###############################################################################