blob: 9e80cb3595ec9593695b972a92f9844a2a2fe64e [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#
adamdunkels243e1f72003-08-06 23:13:06 +000033# $Id: Makefile.c64,v 1.5 2003/08/06 23:15:10 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
adamdunkelsa4040a12003-04-24 17:02:10 +000038SYS=c64
adamdunkels7e4982c2003-03-19 16:26:18 +000039
adamdunkelsa4040a12003-04-24 17:02:10 +000040include $(CONTIKICC65)/Makefile.common
adamdunkelsa1931f32003-04-08 19:10:12 +000041
adamdunkelsa4040a12003-04-24 17:02:10 +000042CFLAGS:=$(CFLAGSCOMMON) \
adamdunkelsb059c212003-07-30 22:48:49 +000043 -DCTK_HIRES -DWITH_UIP -DWITH_LOADER_ARCH -DWITH_ETHERNET
adamdunkels7e4982c2003-03-19 16:26:18 +000044
adamdunkels0b9424e2003-07-30 23:11:47 +000045contiki: main.o petsciiconv.o \
adamdunkelsa1931f32003-04-08 19:10:12 +000046 ctk.o ek.o dispatcher.o loader-arch.o \
adamdunkels243e1f72003-08-06 23:13:06 +000047 configedit-dsc.o processes-dsc.o directory-dsc.o \
adamdunkelsa4040a12003-04-24 17:02:10 +000048 ctk-mouse.o ctk-mouse-asm.o \
adamdunkels77e47062003-04-17 15:09:31 +000049 ctk-hires.o ctk-hires-asm.o ctk-hires-theme-default.o \
adamdunkelsb059c212003-07-30 22:48:49 +000050 $(UIP) uip_arp.o \
adamdunkels36a81282003-08-04 00:14:03 +000051 program-handler.o c64-dio.o c64-dio-asm.o c64-fs.o
adamdunkelsb059c212003-07-30 22:48:49 +000052 cl65 -Ln contiki-labels -o contiki -t $(SYS) $^
adamdunkels7e4982c2003-03-19 16:26:18 +000053