forked from OpenMeridian/Meridian59
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathmakefile.linux
More file actions
44 lines (36 loc) · 1015 Bytes
/
makefile.linux
File metadata and controls
44 lines (36 loc) · 1015 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
41
42
43
44
#
# overall makefile for Linux
#
TOPDIR=.
include common.mak.linux
# make ignores targets if they match directory names
all: Bserver Bresource 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) -f makefile.linux $(COMMAND); \
cd ..
Butil:
@echo Making $(COMMAND) in $(UTILDIR); \
cd $(UTILDIR); \
$(MAKE) -f makefile.linux $(COMMAND); \
cd ..
# Copy room files to server run directory (equivalent of Windows Bresource)
Bresource:
@echo Copying room files to server
@mkdir -p $(BLAKSERVRUNDIR)/rooms
-@$(CP) $(RESOURCEDIR)/rooms/*.roo $(BLAKSERVRUNDIR)/rooms/ 2>/dev/null
clean:
env COMMAND='clean' $(MAKE) -sf makefile.linux
$(RM) $(TOPDIR)/postbuild.log 2>&1
$(RM) $(BLAKSERVDIR)/channel/*.txt