Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
101 | lvd | 1 | PORTS_INC=../../../docs/ports.inc |
2 | |||
3 | ASL="/d/d/pentevo/tools/asw/bin/asw.exe" |
||
4 | P2BIN="/d/d/pentevo/tools/asw/bin/p2bin.exe" |
||
5 | |||
6 | |||
7 | all: timer_test.bin page_test.bin sdmp3_test.bin |
||
8 | |||
9 | |||
10 | ports.inc: $(PORTS_INC) |
||
11 | cat $(PORTS_INC) | sed s/#/0x/ >ports.inc |
||
12 | |||
13 | timer_test.bin: timer_test.s ports.inc |
||
14 | $(ASL) -U -L timer_test.s |
||
15 | $(P2BIN) timer_test.p timer_test.bin -r \$$-$$ -k |
||
16 | echo \ binclude \"timer_test.bin\" >tmp.s |
||
17 | $(ASL) -U -L rom_loader.s |
||
18 | $(P2BIN) rom_loader.p timer_test.bin -r \$$-$$ -k |
||
19 | |||
20 | page_test.bin: page_test.s ports.inc |
||
21 | $(ASL) -U -L page_test.s |
||
22 | $(P2BIN) page_test.p page_test.bin -r \$$-$$ -k |
||
23 | echo \ binclude \"page_test.bin\" >tmp.s |
||
24 | $(ASL) -U -L rom_loader.s |
||
25 | $(P2BIN) rom_loader.p page_test.bin -r \$$-$$ -k |
||
26 | |||
27 | sdmp3_test.bin: sdmp3_test.s ports.inc |
||
28 | $(ASL) -U -L sdmp3_test.s |
||
29 | $(P2BIN) sdmp3_test.p sdmp3_test.bin -r \$$-$$ -k |
||
30 | echo \ binclude \"sdmp3_test.bin\" >tmp.s |
||
31 | $(ASL) -U -L rom_loader.s |
||
32 | $(P2BIN) rom_loader.p sdmp3_test.bin -r \$$-$$ -k |
||
33 | |||
34 | |||
35 | clean: |
||
36 | rm tmp.s ports.inc *.bin *.lst |
||
37 |