blob: 0cc7fb001dd099d368468dd4566c6384f4123f2c [file] [log] [blame]
oliverschmidt76872e82004-12-26 14:13:34 +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. The name of the author may not be used to endorse or promote
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#
oliverschmidtf323cbf2005-04-19 22:17:47 +000030# $Id: Makefile.programs,v 1.11 2005/04/19 22:17:47 oliverschmidt Exp $
oliverschmidt76872e82004-12-26 14:13:34 +000031#
32
oliverschmidta330e332005-01-22 03:00:27 +000033all: loader-arch-module.o contiki-labels.o \
oliverschmidt8871bdd2005-03-13 21:33:57 +000034 lancegs.drv \
oliverschmidt5a4a03c2005-03-13 22:19:20 +000035 uther.drv \
oliverschmidt76872e82004-12-26 14:13:34 +000036 about.prg \
37 calc.prg \
38 config.prg \
39 configedit.prg \
40 dhcp.prg \
oliverschmidt28857a42005-04-18 23:19:33 +000041 ftp.prg \
oliverschmidt76872e82004-12-26 14:13:34 +000042 irc.prg \
43 memstat.prg \
44 processes.prg \
oliverschmidt28857a42005-04-18 23:19:33 +000045 shell.prg \
oliverschmidt76872e82004-12-26 14:13:34 +000046 telnet.prg \
47 welcome.prg \
oliverschmidtd78036e2005-03-31 21:55:14 +000048 wget.prg \
oliverschmidt76872e82004-12-26 14:13:34 +000049 www.prg
50
51SYS=apple2enh
52
oliverschmidt28857a42005-04-18 23:19:33 +000053include $(CONTIKI)/Makefile.common
54include $(CONTIKICC65)/Makefile.cc65
oliverschmidt76872e82004-12-26 14:13:34 +000055
56AFLAGS:=-t $(SYS)
57
58CFLAGS:=$(CFLAGSCOMMON) \
59 -DWITH_ASCII -DWITH_UIP -DWITH_LOADER_ARCH -DWITH_ETHERNET
60
oliverschmidt8871bdd2005-03-13 21:33:57 +000061lancegs.drv: lancegs-drv.o lan91c96.o uip_arp.o
62
oliverschmidt5a4a03c2005-03-13 22:19:20 +000063uther.drv: uther-drv.o cs8900a.o uther-drv-asm.o uip_arp.o
oliverschmidta330e332005-01-22 03:00:27 +000064
oliverschmidt28857a42005-04-18 23:19:33 +000065dhcp.prg: $(DHCP) lc-asm.o
oliverschmidt76872e82004-12-26 14:13:34 +000066
oliverschmidt28857a42005-04-18 23:19:33 +000067ftp.prg: $(FTP) cfs.o
68
69irc.prg: $(IRC) lc-asm.o
70
oliverschmidtf323cbf2005-04-19 22:17:47 +000071shell.prg: $(SHELL_) cfs.o
oliverschmidt76872e82004-12-26 14:13:34 +000072
73telnet.prg: $(TELNET)
74
oliverschmidt28857a42005-04-18 23:19:33 +000075wget.prg: $(WGET)
oliverschmidtd78036e2005-03-31 21:55:14 +000076
oliverschmidt76872e82004-12-26 14:13:34 +000077www.prg: $(WWW)