Fix build script (permissions, create non-existent dirs.)
Cat's Eye Technologies
12 years ago
0 | # Top-level Makefile for all of BefOS | |
1 | # $Id: Makefile 62 2006-02-05 04:39:58Z catseye $ | |
2 | ||
3 | # This is so wrong. We need to amalgamate this | |
4 | # into a single Makefile someday. | |
5 | ||
6 | # the 'cd ..' is required to get out of obj/ | |
7 | SRCDIR=../src | |
8 | DISKDIR=../disk | |
9 | ||
10 | all: | |
11 | cd $(SRCDIR)/tools && make all | |
12 | cd $(SRCDIR)/kernel && make all | |
13 | cd $(SRCDIR)/inc && make all | |
14 | cd $(SRCDIR)/apps && make all | |
15 | cd $(SRCDIR)/page && make all | |
16 | cd $(SRCDIR)/boot && make all | |
17 | cd $(DISKDIR) && make all | |
18 | ||
19 | clean: | |
20 | cd $(SRCDIR)/tools && make clean | |
21 | cd $(SRCDIR)/kernel && make clean | |
22 | cd $(SRCDIR)/inc && make clean | |
23 | cd $(SRCDIR)/apps && make clean | |
24 | cd $(SRCDIR)/page && make clean | |
25 | cd $(SRCDIR)/boot && make clean | |
26 | cd $(DISKDIR) && make clean | |
27 | ||
28 | test: all | |
29 | cd $(DISKDIR) && make test |