2 # Copyright (c) 2010, Adam Dunkels.
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions
8 # 1. Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer.
10 # 2. Redistributions in binary form must reproduce the above copyright
11 # notice, this list of conditions and the following disclaimer in the
12 # documentation and/or other materials provided with the distribution.
13 # 3. The name of the author may not be used to endorse or promote
14 # products derived from this software without specific prior
17 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
18 # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
21 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
23 # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25 # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
26 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 # This file is part of the Contiki operating system.
31 # Author: Oliver Schmidt <ol.sc@web.de>
33 # $Id: Makefile,v 1.3 2010/02/11 10:13:18 oliverschmidt Exp $
37 ${error CC65_HOME not defined
! You must specify where cc65 resides
}
41 ${error AC not defined
! You must specify where the AppleCommander jar resides
}
45 ${error C1541 not defined
! You must specify where VICE c1541 resides
}
48 disks
: apple2enh-1-disk apple2enh-2-disk c64-1-disk c64-2-disk c128-disk
51 cp ..
/apple2enh
/prodos.dsk contiki-1.dsk
52 java
-jar
$(AC
) -p contiki-1.dsk contiki.cfg bin
0 < dummy.cfg
53 java
-jar
$(AC
) -p contiki-1.dsk menu.system sys
0 < ..
/apple2enh
/menu.system
54 java
-jar
$(AC
) -p contiki-1.dsk dhcp.system sys
0 < ..
/apple2enh
/loader.system
55 java
-jar
$(AC
) -cc65 contiki-1.dsk dhcp bin
0 < ..
/..
/cpu
/6502/dhcp
/dhcp-client.apple2enh
56 java
-jar
$(AC
) -p contiki-1.dsk webserve.system sys
0 < ..
/apple2enh
/loader.system
57 java
-jar
$(AC
) -cc65 contiki-1.dsk webserve bin
< ..
/..
/examples
/webserver
/webserver-example.apple2enh
58 java
-jar
$(AC
) -p contiki-1.dsk webbrows.system sys
0 < ..
/apple2enh
/loader.system
59 java
-jar
$(AC
) -cc65 contiki-1.dsk webbrows bin
< ..
/..
/examples
/webbrowser
/webbrowser.apple2enh
60 java
-jar
$(AC
) -p contiki-1.dsk cs8900a.eth rel
0 < ..
/..
/cpu
/6502/dhcp
/cs8900a.eth
61 java
-jar
$(AC
) -p contiki-1.dsk lan91c96.eth rel
0 < ..
/..
/cpu
/6502/dhcp
/lan91c96.eth
62 java
-jar
$(AC
) -p contiki-1.dsk a2e.stdmou.mou rel
0 < $(CC65_HOME
)/mou
/a2e.stdmou.mou
63 java
-jar
$(AC
) -p contiki-1.dsk index.html bin
0 < ..
/..
/examples
/webserver
/httpd-cfs
/index.html
64 java
-jar
$(AC
) -p contiki-1.dsk background.gif bin
0 < ..
/..
/examples
/webserver
/httpd-cfs
/background.gif
65 java
-jar
$(AC
) -p contiki-1.dsk contiki.gif bin
0 < ..
/..
/examples
/webserver
/httpd-cfs
/contiki.gif
66 java
-jar
$(AC
) -p contiki-1.dsk notfound.html bin
0 < ..
/..
/examples
/webserver
/httpd-cfs
/notfound.html
69 cp ..
/apple2enh
/prodos.dsk contiki-2.dsk
70 java
-jar
$(AC
) -p contiki-2.dsk contiki.cfg bin
0 < dummy.cfg
71 java
-jar
$(AC
) -p contiki-2.dsk menu.system sys
0 < ..
/apple2enh
/menu.system
72 java
-jar
$(AC
) -p contiki-2.dsk wget.system sys
0 < ..
/apple2enh
/loader.system
73 java
-jar
$(AC
) -cc65 contiki-2.dsk wget bin
< ..
/..
/examples
/wget
/wget.apple2enh
74 java
-jar
$(AC
) -p contiki-2.dsk irc.system sys
0 < ..
/apple2enh
/loader.system
75 java
-jar
$(AC
) -cc65 contiki-2.dsk irc bin
< ..
/..
/examples
/irc
/irc-client.apple2enh
76 java
-jar
$(AC
) -p contiki-2.dsk email.system sys
0 < ..
/apple2enh
/loader.system
77 java
-jar
$(AC
) -cc65 contiki-2.dsk email bin
< ..
/..
/examples
/email
/email-client.apple2enh
78 java
-jar
$(AC
) -p contiki-2.dsk cs8900a.eth rel
0 < ..
/..
/cpu
/6502/dhcp
/cs8900a.eth
79 java
-jar
$(AC
) -p contiki-2.dsk lan91c96.eth rel
0 < ..
/..
/cpu
/6502/dhcp
/lan91c96.eth
80 java
-jar
$(AC
) -p contiki-2.dsk a2e.stdmou.mou rel
0 < $(CC65_HOME
)/mou
/a2e.stdmou.mou
83 $(C1541
) -format contiki
,00 d64 contiki-1.d64
84 $(C1541
) -attach contiki-1.d64
-write dummy.cfg contiki.cfg
85 $(C1541
) -attach contiki-1.d64
-write ..
/..
/cpu
/6502/dhcp
/dhcp-client.c64 dhcp
86 $(C1541
) -attach contiki-1.d64
-write ..
/..
/examples
/webserver
/webserver-example.c64 webserver
87 $(C1541
) -attach contiki-1.d64
-write ..
/..
/examples
/webbrowser
/webbrowser.c64 webbrowser
88 $(C1541
) -attach contiki-1.d64
-write ..
/..
/examples
/wget
/wget.c64 wget
89 $(C1541
) -attach contiki-1.d64
-write ..
/..
/cpu
/6502/dhcp
/cs8900a.eth cs8900a.eth
90 $(C1541
) -attach contiki-1.d64
-write ..
/..
/cpu
/6502/dhcp
/lan91c96.eth lan91c96.eth
91 $(C1541
) -attach contiki-1.d64
-write
$(CC65_HOME
)/mou
/c64-1351.mou c64-1351.mou
92 $(C1541
) -attach contiki-1.d64
-write ..
/..
/examples
/webserver
/httpd-cfs
/index.html index.html
93 $(C1541
) -attach contiki-1.d64
-write ..
/..
/examples
/webserver
/httpd-cfs
/background.gif background.gif
94 $(C1541
) -attach contiki-1.d64
-write ..
/..
/examples
/webserver
/httpd-cfs
/contiki.gif contiki.gif
95 $(C1541
) -attach contiki-1.d64
-write ..
/..
/examples
/webserver
/httpd-cfs
/notfound.html notfound.html
98 $(C1541
) -format contiki
,00 d64 contiki-2.d64
99 $(C1541
) -attach contiki-2.d64
-write dummy.cfg contiki.cfg
100 $(C1541
) -attach contiki-2.d64
-write ..
/..
/cpu
/6502/dhcp
/dhcp-client.c64 dhcp
101 $(C1541
) -attach contiki-2.d64
-write ..
/..
/examples
/irc
/irc-client.c64 irc
102 $(C1541
) -attach contiki-2.d64
-write ..
/..
/examples
/email
/email-client.c64 email
103 $(C1541
) -attach contiki-2.d64
-write ..
/..
/cpu
/6502/dhcp
/cs8900a.eth cs8900a.eth
104 $(C1541
) -attach contiki-2.d64
-write ..
/..
/cpu
/6502/dhcp
/lan91c96.eth lan91c96.eth
105 $(C1541
) -attach contiki-2.d64
-write
$(CC65_HOME
)/mou
/c64-1351.mou c64-1351.mou
108 $(C1541
) -format contiki
,00 d71 contiki.d71
109 $(C1541
) -attach contiki.d71
-write dummy.cfg contiki.cfg
110 $(C1541
) -attach contiki.d71
-write ..
/..
/cpu
/6502/dhcp
/dhcp-client.c128 dhcp
111 $(C1541
) -attach contiki.d71
-write ..
/..
/examples
/webserver
/webserver-example.c128 webserver
112 $(C1541
) -attach contiki.d71
-write ..
/..
/examples
/webbrowser
/webbrowser.c128 webbrowser
113 $(C1541
) -attach contiki.d71
-write ..
/..
/examples
/wget
/wget.c128 wget
114 $(C1541
) -attach contiki.d71
-write ..
/..
/examples
/irc
/irc-client.c128 irc
115 $(C1541
) -attach contiki.d71
-write ..
/..
/examples
/email
/email-client.c128 email
116 $(C1541
) -attach contiki.d71
-write ..
/..
/cpu
/6502/dhcp
/cs8900a.eth cs8900a.eth
117 $(C1541
) -attach contiki.d71
-write ..
/..
/cpu
/6502/dhcp
/lan91c96.eth lan91c96.eth
118 $(C1541
) -attach contiki.d71
-write
$(CC65_HOME
)/mou
/c128-1351.mou c128-1351.mou
119 $(C1541
) -attach contiki.d71
-write ..
/..
/examples
/webserver
/httpd-cfs
/index.html index.html
120 $(C1541
) -attach contiki.d71
-write ..
/..
/examples
/webserver
/httpd-cfs
/background.gif background.gif
121 $(C1541
) -attach contiki.d71
-write ..
/..
/examples
/webserver
/httpd-cfs
/contiki.gif contiki.gif
122 $(C1541
) -attach contiki.d71
-write ..
/..
/examples
/webserver
/httpd-cfs
/notfound.html notfound.html