adamdunkels | 7e4982c | 2003-03-19 16:26:18 +0000 | [diff] [blame] | 1 | # 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. |
adamdunkels | 0a08fda | 2004-07-04 18:33:07 +0000 | [diff] [blame] | 12 | # 3. The name of the author may not be used to endorse or promote |
adamdunkels | 7e4982c | 2003-03-19 16:26:18 +0000 | [diff] [blame] | 13 | # products derived from this software without specific prior |
| 14 | # written permission. |
| 15 | # |
| 16 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS |
| 17 | # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 18 | # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 19 | # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY |
| 20 | # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 21 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
| 22 | # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 23 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 24 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
| 25 | # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 26 | # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | # |
| 28 | # This file is part of the Contiki desktop environment |
| 29 | # |
oliverschmidt | 099f47c | 2005-04-24 23:24:24 +0000 | [diff] [blame] | 30 | # $Id: Makefile.c64,v 1.17 2005/04/24 23:24:24 oliverschmidt Exp $ |
adamdunkels | 7e4982c | 2003-03-19 16:26:18 +0000 | [diff] [blame] | 31 | # |
| 32 | |
adamdunkels | a1931f3 | 2003-04-08 19:10:12 +0000 | [diff] [blame] | 33 | all: contiki contiki-labels.o |
adamdunkels | 7e4982c | 2003-03-19 16:26:18 +0000 | [diff] [blame] | 34 | |
adamdunkels | a4040a1 | 2003-04-24 17:02:10 +0000 | [diff] [blame] | 35 | SYS=c64 |
adamdunkels | 7e4982c | 2003-03-19 16:26:18 +0000 | [diff] [blame] | 36 | |
oliverschmidt | 9d58ba1 | 2005-04-18 22:06:44 +0000 | [diff] [blame] | 37 | include $(CONTIKI)/Makefile.common |
oliverschmidt | aaaef94 | 2005-04-18 21:49:58 +0000 | [diff] [blame] | 38 | include $(CONTIKICC65)/Makefile.cc65 |
adamdunkels | a1931f3 | 2003-04-08 19:10:12 +0000 | [diff] [blame] | 39 | |
oliverschmidt | 099f47c | 2005-04-24 23:24:24 +0000 | [diff] [blame] | 40 | CFLAGS:=$(CFLAGSCC65) \ |
adamdunkels | b059c21 | 2003-07-30 22:48:49 +0000 | [diff] [blame] | 41 | -DCTK_HIRES -DWITH_UIP -DWITH_LOADER_ARCH -DWITH_ETHERNET |
adamdunkels | 7e4982c | 2003-03-19 16:26:18 +0000 | [diff] [blame] | 42 | |
adamdunkels | a4dad04 | 2004-09-18 20:53:03 +0000 | [diff] [blame] | 43 | contiki: main.o save-driveunit.o petsciiconv.o \ |
adamdunkels | 0a08fda | 2004-07-04 18:33:07 +0000 | [diff] [blame] | 44 | ctk.o ek.o ek-service.o loader-arch.o arg.o timer.o \ |
adamdunkels | 243e1f7 | 2003-08-06 23:13:06 +0000 | [diff] [blame] | 45 | configedit-dsc.o processes-dsc.o directory-dsc.o \ |
adamdunkels | ddaed5e | 2004-08-09 20:57:21 +0000 | [diff] [blame] | 46 | cfs.o cfs-init.o \ |
adamdunkels | 5c8e7f3 | 2003-08-20 22:53:37 +0000 | [diff] [blame] | 47 | $(UIP) \ |
adamdunkels | ddaed5e | 2004-08-09 20:57:21 +0000 | [diff] [blame] | 48 | program-handler.o \ |
| 49 | ctk-draw.o |
| 50 | # ctk-hires.o ctk-hires-asm.o ctk-hires-theme-default.o \ |
| 51 | # ctk-mouse-arch.o ctk-mouse-joy.o ctk-mouse-asm.o |
adamdunkels | 7cde609 | 2003-08-24 22:35:22 +0000 | [diff] [blame] | 52 | cl65 -C c64.cfg -Ln contiki-labels -o contiki -t $(SYS) $^ |
adamdunkels | 7e4982c | 2003-03-19 16:26:18 +0000 | [diff] [blame] | 53 | |
adamdunkels | 21960fc | 2004-02-24 09:52:24 +0000 | [diff] [blame] | 54 | contiki-exo: contiki |
| 55 | exomizer -s sys -o contiki-exo contiki |
adamdunkels | b3cb9c2 | 2004-09-12 13:22:52 +0000 | [diff] [blame] | 56 | mv contiki-exo contiki |