annotate makefile @ 2401:7f39211c0b14

Makefile
author boisy
date Sun, 24 Jan 2010 17:25:54 +0000
parents d5ecf07aae74
children 3dcda506604b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1133
diff changeset
1 include rules.mak
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
2
2382
d5ecf07aae74 Build syslibs too.
chawks4
parents: 2350
diff changeset
3 dirs = lib $(LEVEL1) $(LEVEL2) $(LEVEL3) $(3RDPARTY)
1119
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 504
diff changeset
4
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
5 # Make all components
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
6 all:
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1133
diff changeset
7 @$(ECHO) "**************************************************"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1133
diff changeset
8 @$(ECHO) "* *"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1133
diff changeset
9 @$(ECHO) "* THE NITROS-9 PROJECT *"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1133
diff changeset
10 @$(ECHO) "* *"
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1133
diff changeset
11 @$(ECHO) "**************************************************"
1133
4bddc63a59fc More slight Makefile improvements
boisy
parents: 1119
diff changeset
12 $(foreach dir, $(dirs), ($(CD) $(dir); make);)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
13
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14 # Clean all components
2224
22b75f9788a5 Removed redundant targets
boisy
parents: 2220
diff changeset
15 clean:
2200
c4ef83e093f8 Updated the top level makefile to do nightly builds
boisy
parents: 2199
diff changeset
16 -$(RM) nitros9project.zip dsks/*.dsk
1133
4bddc63a59fc More slight Makefile improvements
boisy
parents: 1119
diff changeset
17 $(foreach dir, $(dirs), ($(CD) $(dir); make clean);)
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18
2200
c4ef83e093f8 Updated the top level makefile to do nightly builds
boisy
parents: 2199
diff changeset
19 # Do CVS update
2220
0ca50708370b Fixed nightly
boisy
parents: 2216
diff changeset
20 cvsupdate:
2200
c4ef83e093f8 Updated the top level makefile to do nightly builds
boisy
parents: 2199
diff changeset
21 cvs update -d
c4ef83e093f8 Updated the top level makefile to do nightly builds
boisy
parents: 2199
diff changeset
22
458
aac20055f8ad Changes for shellplus source provided by Curtis Boyle
boisy
parents: 378
diff changeset
23 # Make DSK images
1119
f86ef3d1d7c9 Makefiles have been redone to take advantage of size and Make features
boisy
parents: 504
diff changeset
24 dsk: all
1133
4bddc63a59fc More slight Makefile improvements
boisy
parents: 1119
diff changeset
25 $(foreach dir, $(dirs), ($(CD) $(dir); make dsk);)
332
5a5ada60704b Minor changes
boisy
parents: 0
diff changeset
26
2227
b9fd9c10af89 clean now comes before update
boisy
parents: 2224
diff changeset
27 # Copy DSK images
2199
eab970e382e2 Prep for nightly builds
boisy
parents: 2191
diff changeset
28 dskcopy: all
eab970e382e2 Prep for nightly builds
boisy
parents: 2191
diff changeset
29 $(foreach dir, $(dirs), ($(CD) $(dir); make dskcopy);)
eab970e382e2 Prep for nightly builds
boisy
parents: 2191
diff changeset
30
458
aac20055f8ad Changes for shellplus source provided by Curtis Boyle
boisy
parents: 378
diff changeset
31 # Clean DSK images
aac20055f8ad Changes for shellplus source provided by Curtis Boyle
boisy
parents: 378
diff changeset
32 dskclean:
1133
4bddc63a59fc More slight Makefile improvements
boisy
parents: 1119
diff changeset
33 $(foreach dir, $(dirs), ($(CD) $(dir); make dskclean);)
2190
7887b4e72100 Added target for NitrOS-9 DriveWire
boisy
parents: 2067
diff changeset
34
7887b4e72100 Added target for NitrOS-9 DriveWire
boisy
parents: 2067
diff changeset
35 # DriveWire 3 DSK images
2191
d280490500a8 dw3 target added to makefile
boisy
parents: 2190
diff changeset
36 dw3dsk = $(LEVEL1)/coco/nos96809l1coco1_dw3.dsk $(LEVEL1)/coco/nos96809l1coco2_dw3.dsk \
d280490500a8 dw3 target added to makefile
boisy
parents: 2190
diff changeset
37 $(LEVEL2)/coco3/nos96809l2_dw3.dsk $(LEVEL2)/coco3_6309/nos96309l2_dw3.dsk
d280490500a8 dw3 target added to makefile
boisy
parents: 2190
diff changeset
38
d280490500a8 dw3 target added to makefile
boisy
parents: 2190
diff changeset
39 dw3:
d280490500a8 dw3 target added to makefile
boisy
parents: 2190
diff changeset
40 $(ARCHIVE) nitros9_drivewire3.zip $(dw3dsk)
2199
eab970e382e2 Prep for nightly builds
boisy
parents: 2191
diff changeset
41
2216
d096a278e068 Added info targets
boisy
parents: 2214
diff changeset
42 info:
d096a278e068 Added info targets
boisy
parents: 2214
diff changeset
43 @$(foreach dir, $(dirs), ($(CD) $(dir); make info);)
d096a278e068 Added info targets
boisy
parents: 2214
diff changeset
44
2227
b9fd9c10af89 clean now comes before update
boisy
parents: 2224
diff changeset
45 nightly: clean cvsupdate dskcopy
2216
d096a278e068 Added info targets
boisy
parents: 2214
diff changeset
46 make info>dsks/ReadMe
2200
c4ef83e093f8 Updated the top level makefile to do nightly builds
boisy
parents: 2199
diff changeset
47 $(ARCHIVE) nitros9project dsks/*
2214
33311c99276f Fixed address to correct website
boisy
parents: 2200
diff changeset
48 scp nitros9project.zip boisy,nitros9@web.sourceforge.net:/home/groups/n/ni/nitros9/htdocs
2200
c4ef83e093f8 Updated the top level makefile to do nightly builds
boisy
parents: 2199
diff changeset
49