Rev 1088 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1085 | pj | 1 | # |
2 | # |
||
3 | # |
||
4 | |||
5 | ifndef BASE |
||
6 | BASE=../../.. |
||
7 | endif |
||
8 | include $(BASE)/config/config.mk |
||
9 | |||
10 | PROGS= simple hello hello1 hello2 test0 treef1 treec1 treec2 |
||
11 | OBJS=common.o |
||
12 | |||
13 | include $(BASE)/config/example.mk |
||
14 | |||
15 | simple: |
||
1088 | pj | 16 | make -f $(SUBMAKE) BASE=$(BASE) APP=simple INIT=initfs.o OTHEROBJS= |
1085 | pj | 17 | hello: |
1088 | pj | 18 | make -f $(SUBMAKE) BASE=$(BASE) APP=hello INIT=initfs.o OTHEROBJS= |
1085 | pj | 19 | hello1: |
1088 | pj | 20 | make -f $(SUBMAKE) BASE=$(BASE) APP=hello1 INIT=initfs.o OTHEROBJS=common.o |
1085 | pj | 21 | hello2: |
1088 | pj | 22 | make -f $(SUBMAKE) BASE=$(BASE) APP=hello2 INIT=initfs.o OTHEROBJS=common.o |
1085 | pj | 23 | test0: |
1088 | pj | 24 | make -f $(SUBMAKE) BASE=$(BASE) APP=test0 INIT=initfs.o OTHEROBJS=common.o |
1085 | pj | 25 | treef1: |
1088 | pj | 26 | make -f $(SUBMAKE) BASE=$(BASE) APP=treef1 INIT=initfs.o OTHEROBJS=common.o |
1085 | pj | 27 | treec1: |
1088 | pj | 28 | make -f $(SUBMAKE) BASE=$(BASE) APP=treec1 INIT=initfs.o OTHEROBJS=common.o |
1085 | pj | 29 | treec2: |
1088 | pj | 30 | make -f $(SUBMAKE) BASE=$(BASE) APP=treec2 INIT=initfs.o OTHEROBJS=common.o |
1085 | pj | 31 | |
32 | # |
||
33 | # |
||
34 | # |
||
35 | |||
36 | |||
37 | .PHONY: util |
||
38 | |||
39 | util: tdump.exe jdump.exe sa.exe road.exe wait.exe |
||
40 | |||
41 | tdump.exe: tdump.c util.c |
||
42 | gcc -s -Wimplicit-function-declaration -Wall \ |
||
43 | -I$(BASE)/include/trace tdump.c util.c -o tdump.exe |
||
44 | |||
45 | jdump.exe: jdump.c util.c |
||
46 | gcc -s -Wimplicit-function-declaration -Wall \ |
||
47 | -I$(BASE)/include/trace jdump.c util.c -o jdump.exe |
||
48 | |||
49 | sa.exe: sa.c util.c distr.c |
||
50 | gcc -s -Wimplicit-function-declaration -Wall \ |
||
51 | -I$(BASE)/include/trace sa.c util.c -o sa.exe |
||
52 | |||
53 | road.exe: road.c util.c distr.c |
||
54 | gcc -s -Wimplicit-function-declaration -Wall \ |
||
55 | -I$(BASE)/include/trace road.c util.c -o road.exe |
||
56 | |||
57 | wait.exe: wait.c util.c distr.c |
||
58 | gcc -s -Wimplicit-function-declaration -Wall \ |
||
59 | -I$(BASE)/include/trace wait.c util.c -o wait.exe |
||
60 | |||
61 | |||
62 | |||
63 | #include $(BASE)/config/example.mk |
||
64 | |||
65 | |||
66 | |||
67 | |||
68 | |||
69 |