blob: 2639d6f33a2da7b0ceca7313f25bd6b4f2372123 [file] [log] [blame]
adamdunkels5ab9ddb2003-04-08 19:05:22 +00001# Copyright (c) 2003, 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#
adamdunkelsfacd25c2003-04-24 17:12:54 +000033# $Id: Makefile.programs,v 1.8 2003/04/24 17:12:54 adamdunkels Exp $
adamdunkels5ab9ddb2003-04-08 19:05:22 +000034#
35
adamdunkels179f7182003-04-17 18:59:05 +000036all: loader-arch-module.o loader-arch-dsc.o contiki-labels.o \
adamdunkels00c9bdb2003-04-17 19:55:29 +000037 about.prg about.dsc \
38 netconf.prg netconf.dsc \
adamdunkelsf471cc42003-04-18 00:14:13 +000039 processes.prg processes.dsc \
40 www.prg www.dsc \
41 simpletelnet.prg telnet.dsc \
42 email.prg \
43 memstat.prg memstat.dsc \
44 vnc.prg \
45 calc.prg calc.dsc \
46 directory.prg directory.dsc \
47 blueround.prg blueround.dsc \
adamdunkelsfacd25c2003-04-24 17:12:54 +000048 enabler.prg enabler.dsc \
49 springlight.prg springlight.dsc \
50 default.prg default.dsc \
51 ssfire.sav
adamdunkels5ab9ddb2003-04-08 19:05:22 +000052
adamdunkelsfacd25c2003-04-24 17:12:54 +000053SYS=c64
adamdunkels5ab9ddb2003-04-08 19:05:22 +000054
adamdunkelsfacd25c2003-04-24 17:12:54 +000055include $(CONTIKICC65)/Makefile.common
56
57CFLAGS:=$(CFLAGSCOMMON) \
adamdunkels77e47062003-04-17 15:09:31 +000058 -DCTK_HIRES \
adamdunkels5ab9ddb2003-04-08 19:05:22 +000059 -DWITH_LOADER_ARCH \
adamdunkelsfacd25c2003-04-24 17:12:54 +000060 -DWITH_UIP -DWITH_RS232
adamdunkels179f7182003-04-17 18:59:05 +000061
adamdunkels5ab9ddb2003-04-08 19:05:22 +000062email.prg: $(EMAIL)
63
64www.prg: $(WWW)
65
66simpletelnet.prg: $(TELNET)
67
adamdunkelsfacd25c2003-04-24 17:12:54 +000068VNC=vnc.o vnc-viewer.o vnc-draw.o vnc-draw-asm.o
adamdunkels77e47062003-04-17 15:09:31 +000069vnc.prg: $(VNC)
70
71blueround.prg: themeloader.o ctk-hires-theme-blueround.o contiki-labels.o
72 cl65 --module -t c64 -o $@ loader-arch-module.o $^
73
74default.prg: themeloader.o ctk-hires-theme-default.o contiki-labels.o
adamdunkels00c9bdb2003-04-17 19:55:29 +000075 cl65 -Ln default-prg.labels --module -t c64 -o $@ loader-arch-module.o $^
adamdunkelsfacd25c2003-04-24 17:12:54 +000076
77enabler.prg: themeloader.o ctk-hires-theme-enabler.o contiki-labels.o
78 cl65 -Ln default-prg.labels --module -t c64 -o $@ loader-arch-module.o $^
79
80springlight.prg: themeloader.o ctk-hires-theme-springlight.o contiki-labels.o
81 cl65 -Ln default-prg.labels --module -t c64 -o $@ loader-arch-module.o $^
82