blob: bdfd6f9bb4cd8225d880fd84eb53d5ee3522c50d [file] [log] [blame]
adamdunkels7e4982c2003-03-19 16:26: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#
adamdunkels77e47062003-04-17 15:09:31 +000033# $Id: Makefile.c64-rs232,v 1.1 2003/04/17 15:09:31 adamdunkels Exp $
adamdunkels7e4982c2003-03-19 16:26:18 +000034#
35
adamdunkelsa1931f32003-04-08 19:10:12 +000036all: contiki contiki-labels.o
adamdunkels7e4982c2003-03-19 16:26:18 +000037
adamdunkelsa1931f32003-04-08 19:10:12 +000038include Makefile.common
adamdunkels7e4982c2003-03-19 16:26:18 +000039
40CFLAGS:=$(CFLAGS) \
adamdunkels77e47062003-04-17 15:09:31 +000041 -DCTK_HIRES \
adamdunkelsa1931f32003-04-08 19:10:12 +000042 -DWITH_UIP -DWITH_RS232 -DWITH_LOADER_ARCH \
adamdunkels6f5dab72003-04-09 19:25:13 +000043 -DWITH_WWW -DWITH_TELNET -DWITH_EMAIL
adamdunkelsa1931f32003-04-08 19:10:12 +000044
45contiki-labels.o: contiki-labels.s
46 ca65 -o contiki-labels.o contiki-labels.s
47contiki-labels.s: contiki
48 ./make-labels
adamdunkels7e4982c2003-03-19 16:26:18 +000049
50contiki: contiki-main.o petsciiconv.o \
adamdunkelsa1931f32003-04-08 19:10:12 +000051 ctk.o ek.o dispatcher.o loader-arch.o \
adamdunkels942aabf2003-04-09 00:31:13 +000052 fire.o ctk-mouse.o ctk-mouse-asm.o \
adamdunkels77e47062003-04-17 15:09:31 +000053 ctk-hires.o ctk-hires-asm.o ctk-hires-theme-default.o \
adamdunkels7e4982c2003-03-19 16:26:18 +000054 $(UIP) rs232dev.o \
adamdunkelsa1931f32003-04-08 19:10:12 +000055 program-handler.o
56 cl65 -C c64.cfg -Ln contiki-labels -o contiki -t $(SYS) $^
adamdunkels7e4982c2003-03-19 16:26:18 +000057