blob: fd85247a3eb6e52f969e9217499aea9e5ce18d6f [file] [log] [blame]
adamdunkelsb3a14c82003-09-04 22:00:18 +00001# Copyright (c) 2002, Adam Dunkels.
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions
6# are met:
7# 1. Redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer.
9# 2. Redistributions in binary form must reproduce the above copyright
10# notice, this list of conditions and the following disclaimer in the
11# documentation and/or other materials provided with the distribution.
12# 3. All advertising materials mentioning features or use of this software
13# must display the following acknowledgement:
14# This product includes software developed by Adam Dunkels.
15# 4. The name of the author may not be used to endorse or promote
16# products derived from this software without specific prior
17# written permission.
18#
19# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
20# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
23# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
25# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
28# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
29# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30#
31# This file is part of the Contiki desktop environment
32#
oliverschmidt099f47c2005-04-24 23:24:24 +000033# $Id: Makefile.c64-wget,v 1.5 2005/04/24 23:24:24 oliverschmidt Exp $
adamdunkelsb3a14c82003-09-04 22:00:18 +000034#
35
adamdunkels840ba812004-09-18 20:52:10 +000036all: contiki-exo
adamdunkelsb3a14c82003-09-04 22:00:18 +000037
oliverschmidt9d58ba12005-04-18 22:06:44 +000038include $(CONTIKI)/Makefile.common
oliverschmidtaaaef942005-04-18 21:49:58 +000039include $(CONTIKICC65)/Makefile.cc65
adamdunkelsb3a14c82003-09-04 22:00:18 +000040SYS=c64
41
oliverschmidt099f47c2005-04-24 23:24:24 +000042CFLAGS:=$(CFLAGSCC65) -t $(SYS) \
adamdunkelsb3a14c82003-09-04 22:00:18 +000043 -DCTK_HIRES \
adamdunkels840ba812004-09-18 20:52:10 +000044 -DWITH_UIP -DWITH_RRNET -DWITH_ETHERNET \
45 -DCONTIKI_VERSION_STRING='"Contiki 1.2-devel1 IRC/DHCP edition"'
adamdunkelsb3a14c82003-09-04 22:00:18 +000046
47contiki: main-rrnet.o petsciiconv.o \
adamdunkels840ba812004-09-18 20:52:10 +000048 ctk.o ek.o ek.o ek-service.o arg.o timer.o \
adamdunkelsb3a14c82003-09-04 22:00:18 +000049 program-handler.o \
adamdunkelsb3a14c82003-09-04 22:00:18 +000050 $(UIP) uip_arp.o cs8900a.o rrnet-drv.o rrnet-drv-asm.o \
adamdunkels840ba812004-09-18 20:52:10 +000051 ctk-80col.o ctk-80col-asm.o ctk-draw.o \
adamdunkelsb3a14c82003-09-04 22:00:18 +000052 netconf.o netconf-dsc.o \
adamdunkels840ba812004-09-18 20:52:10 +000053 dhcp-dsc.o dhcp.o dhcpc.o lc-asm.o \
54 irc.o ircc.o ircc-strings.o socket.o uipbuf.o irc-dsc.o \
55# $(WGET) wget-dsc.o c64-dio.o c64-dio-asm.o
adamdunkelsb3a14c82003-09-04 22:00:18 +000056 cl65 -Ln labels -o contiki -t $(SYS) $^
57
adamdunkels840ba812004-09-18 20:52:10 +000058contiki-exo: contiki
59 exomizer -s sys -o contiki-exo contiki
60