forked from dzavalishin/phantomuserland
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·64 lines (49 loc) · 1.04 KB
/
Makefile
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
include config.mk
MAKEFLAGS += --no-print-directory
default::
@echo make all or make install
@echo doing make all by default
$(MAKE) all
install::
cd build ; make install
# echo $(realpath $(PHANTOM_HOME))
classes::
# classes
$(MAKE) -C plib all
$(MAKE) -C apps/tetris/tetris all
$(MAKE) -C plib all
classes-clean::
# classes
$(MAKE) -C plib clean
up::
$(MAKE) clean
svn up
$(MAKE) all
all::
# kernel
$(MAKE) -C phantom
ifeq ($(ARCH),ia32)
$(MAKE) -C oldtree/kernel/phantom/i386
endif
$(MAKE) -C oldtree/kernel
clean::
# kernel
$(MAKE) -C phantom clean
$(MAKE) -C oldtree/kernel clean
-rm -f *.E all_sources
analyse::
$(MAKE) -C phantom analyse
$(MAKE) -C oldtree/kernel analyse
-rm -f libTinyGL.a_sources.E
#cat *.E >all_sources
#rm *.E
splint +gnuextensions +nolib +boolint *.E >ana
rea::
splint +gnuextensions +nolib +boolint *.E >ana
run:: all
cd run; sh ./phantom_clean.sh
boot:: #all
cp oldtree/run/tftp/* $(HW_BOOT_DEST)
test::
cd test
$(MAKE)