forked from OpenMeridian105/Meridian59
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile.linux
More file actions
40 lines (31 loc) · 809 Bytes
/
makefile.linux
File metadata and controls
40 lines (31 loc) · 809 Bytes
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
#
# overall makefile
#
TOPDIR=.
include common.mak.linux
# make ignores targets if they match directory names
all: Bserver Bkod Butil
Bserver:
@echo Making $(COMMAND) in $(BLAKSERVDIR); \
cd $(BLAKSERVDIR); \
$(MAKE) -f makefile.linux $(COMMAND); \
cd ..
Bcompiler:
@echo Making $(COMMAND) in $(BLAKCOMPDIR); \
cd $(BLAKCOMPDIR); \
$(MAKE) -f makefile.linux $(COMMAND); \
cd ..
Bkod: Bcompiler Butil
@echo Making $(COMMAND) in $(KODDIR); \
cd $(KODDIR); \
$(MAKE) -sf makefile.linux $(COMMAND); \
cd ..
Butil:
@echo Making $(COMMAND) in $(UTILDIR); \
cd $(UTILDIR); \
$(MAKE) -f makefile.linux $(COMMAND); \
cd ..
clean:
env COMMAND='clean' $(MAKE) -sf makefile.linux
$(RM) $(TOPDIR)/postbuild.log 2>&1
$(RM) $(BLAKSERVDIR)/channel/*.txt