adamdunkels | 4b0459d | 2003-04-05 12:35:32 +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. |
| 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 | # |
adamdunkels | 386f710 | 2003-04-24 17:25:12 +0000 | [diff] [blame^] | 33 | # $Id: Makefile,v 1.4 2003/04/24 17:25:12 adamdunkels Exp $ |
adamdunkels | 4b0459d | 2003-04-05 12:35:32 +0000 | [diff] [blame] | 34 | # |
| 35 | |
adamdunkels | 386f710 | 2003-04-24 17:25:12 +0000 | [diff] [blame^] | 36 | all: contiki loader-arch-module.o loader-arch-dsc.o contiki-labels.o \ |
| 37 | about.prg about.dsc processes.prg processes.dsc \ |
| 38 | netconf.prg netconf.dsc memstat.prg memstat.dsc \ |
| 39 | directory.prg directory.dsc |
adamdunkels | 37bb23d | 2003-04-08 20:10:07 +0000 | [diff] [blame] | 40 | |
adamdunkels | 4b0459d | 2003-04-05 12:35:32 +0000 | [diff] [blame] | 41 | CONTIKI=../contiki |
adamdunkels | 386f710 | 2003-04-24 17:25:12 +0000 | [diff] [blame^] | 42 | CONTIKICC65=../contiki-cc65 |
adamdunkels | 4b0459d | 2003-04-05 12:35:32 +0000 | [diff] [blame] | 43 | SYS=vic20 |
| 44 | |
adamdunkels | 386f710 | 2003-04-24 17:25:12 +0000 | [diff] [blame^] | 45 | include $(CONTIKICC65)/Makefile.common |
| 46 | include Makefile.depend |
adamdunkels | 4b0459d | 2003-04-05 12:35:32 +0000 | [diff] [blame] | 47 | |
adamdunkels | 386f710 | 2003-04-24 17:25:12 +0000 | [diff] [blame^] | 48 | CFLAGS=$(CFLAGSCOMMON) -DWITH_LOADER_ARCH |
adamdunkels | 4b0459d | 2003-04-05 12:35:32 +0000 | [diff] [blame] | 49 | |
| 50 | UIP=uip.o uip_arch.o uip_main.o resolv.o |
| 51 | |
| 52 | WWW=www.o webclient.o http-strings.o htmlparser.o html-strings.o |
| 53 | EMAIL=email.o smtp.o smtp-strings.o |
| 54 | WEBSERVER=webserver.o http-strings.o |
| 55 | TELNET=simpletelnet.o telnet.o |
| 56 | |
| 57 | contiki: contiki-main.o strncasecmp.o petsciiconv.o \ |
| 58 | ctk-conio.o ctk.o ek.o dispatcher.o \ |
adamdunkels | 386f710 | 2003-04-24 17:25:12 +0000 | [diff] [blame^] | 59 | program-handler.o loader-arch.o \ |
| 60 | about-dsc.o netconf-dsc.o processes-dsc.o directory-dsc.o |
| 61 | $(CL) $(CLFLAGS) -C vic20.cfg -o contiki -t $(SYS) $^ |
adamdunkels | 37bb23d | 2003-04-08 20:10:07 +0000 | [diff] [blame] | 62 | |