Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/os9l2bbs/6809l2/makefile @ 3295:6b7a7b233925 default tip
makefile: Allow PORTS with level1/2 mix
https://sourceforge.net/p/nitros9/feature-requests/10/
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Tue, 19 Apr 2022 18:12:17 +0200 |
parents | dd553bb32ebb |
children |
rev | line source |
---|---|
2402 | 1 include $(NITROS9DIR)/rules.mak |
2 | |
3 vpath %.asm ../cmds | |
4 | |
3199
dd553bb32ebb
3rdparty: Changed the names of many disks for easier reading
Bill Pierce <merlinious999@gmail.com>
parents:
2988
diff
changeset
|
5 DSK = OS9L2BBS.dsk |
2413 | 6 BBS = ../bbs |
2409 | 7 |
2404 | 8 PROBCMDS = AnsiEd AnsiFilt BBS.chat New_user Quikterm pause suser |
2413 | 9 |
10 BBSFILES = $(BBS)/BBS.userstats $(BBS)/bbs.alias $(BBS)/bbs.cmds $(BBS)/bbs.cmds_2 $(BBS)/bbs.cmds_3 $(BBS)/bbs.cmds_h \ | |
11 $(BBS)/bbs.cmds_sl $(BBS)/bbs.cmds_sys $(BBS)/bbs.cmds_uld $(BBS)/bbs.cmds_uld_2 $(BBS)/bbs.cmds_uld_3 \ | |
12 $(BBS)/bbs.cmds_uld_h $(BBS)/bbs.menu_32 $(BBS)/bbs.menu_80 $(BBS)/bbs.menu_am $(BBS)/bbs.menu_sl \ | |
13 $(BBS)/bbs.menu_sys $(BBS)/bbs.menu_uld $(BBS)/bbs.users $(BBS)/eotd $(BBS)/modem.set $(BBS)/motd $(BBS)/new_user_form \ | |
14 $(BBS)/new_user_message $(BBS)/packall $(BBS)/packall_3 $(BBS)/runbbs $(BBS)/runbbs_new $(BBS)/sysop | |
15 | |
2404 | 16 CMDS = Ansicode Answer At \ |
17 BBS.archive BBS.build BBS.conf BBS.conf.who BBS.convert \ | |
2402 | 18 BBS.create BBS.delete BBS.download BBS.form BBS.forward BBS.list \ |
19 BBS.mail.check BBS.mail.delete BBS.mail.post BBS.mail.read \ | |
20 BBS.mail.readD BBS.new BBS.pack BBS.page BBS.post BBS.read BBS.reply \ | |
21 BBS.scan BBS.search BBS.stat BBS.upload BBS.validate BBS.who \ | |
22 Conf.dat \ | |
23 DLD.add DLD.list DLD.read DLD.search DLD.unvalidate DLD.validate \ | |
24 Dloada Dloadx Dloadxc Dloady \ | |
2405 | 25 Login Makdir Menu Monitor New_user Prompt T1mon Tsmon \ |
2404 | 26 Uloada Uloadx Uloadxc Uloady ViewBBS |
2402 | 27 |
28 all: $(CMDS) | |
29 | |
2859
3a3cbc11ea9d
Make build fail if first level subdirectory fails
Tormod Volden <debian.tormod@gmail.com>
parents:
2856
diff
changeset
|
30 dsk: $(DSK) |
3a3cbc11ea9d
Make build fail if first level subdirectory fails
Tormod Volden <debian.tormod@gmail.com>
parents:
2856
diff
changeset
|
31 |
2841
d540a92243e7
Fix os9l2bbs makefile for make dskcopy
Tormod Volden <debian.tormod@gmail.com>
parents:
2835
diff
changeset
|
32 $(DSK): $(CMDS) |
2988
ff1866e1d1a4
3rdparty/utils: Add labels to disk images
Tormod Volden <debian.tormod@gmail.com>
parents:
2968
diff
changeset
|
33 $(OS9FORMAT) -q $@ -n"OS-9 L2 BBS for 6809" |
2968
13885d9433d5
3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
34 $(MAKDIR) $@,CMDS |
13885d9433d5
3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
35 $(OS9COPY) $(CMDS) $@,CMDS |
13885d9433d5
3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
36 $(MAKDIR) $@,BBS |
13885d9433d5
3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
37 $(OS9COPY) $(BBSFILES) $@,BBS |
2409 | 38 |
2841
d540a92243e7
Fix os9l2bbs makefile for make dskcopy
Tormod Volden <debian.tormod@gmail.com>
parents:
2835
diff
changeset
|
39 dskcopy: $(DSK) |
2968
13885d9433d5
3rdparty: Further harmonize makefiles
Tormod Volden <debian.tormod@gmail.com>
parents:
2898
diff
changeset
|
40 $(CP) $(DSK) $(DSKDIR) |
2841
d540a92243e7
Fix os9l2bbs makefile for make dskcopy
Tormod Volden <debian.tormod@gmail.com>
parents:
2835
diff
changeset
|
41 |
2612
e55663e7aa7b
Fixed makfiles to include disk info
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2413
diff
changeset
|
42 clean: dskclean |
2835
c1892376e7a7
Makefiles: Do not let $(RM) silently fail
Tormod Volden <debian.tormod@gmail.com>
parents:
2612
diff
changeset
|
43 $(RM) $(CMDS) |
2413 | 44 |
45 dskclean: | |
2835
c1892376e7a7
Makefiles: Do not let $(RM) silently fail
Tormod Volden <debian.tormod@gmail.com>
parents:
2612
diff
changeset
|
46 $(RM) $(DSK) |
2612
e55663e7aa7b
Fixed makfiles to include disk info
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2413
diff
changeset
|
47 |
e55663e7aa7b
Fixed makfiles to include disk info
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2413
diff
changeset
|
48 info: |
e55663e7aa7b
Fixed makfiles to include disk info
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2413
diff
changeset
|
49 @$(ECHO) "*** OS-9 L2 BBS for 6809 ***" |
e55663e7aa7b
Fixed makfiles to include disk info
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2413
diff
changeset
|
50 @$(ECHO) $(DSK) |