mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
64 lines
1.5 KiB
Makefile
64 lines
1.5 KiB
Makefile
#
|
|
# Makefile for PC-6001 using z80/SDCC
|
|
# @author Takahide Matsutsuka <markn@markn.org>
|
|
#
|
|
# $Id: Makefile,v 1.3 2007/09/29 04:07:00 matsutsuka Exp $
|
|
#
|
|
|
|
CONTIKI = ../..
|
|
TARGET=pc-6001
|
|
APPS_DESKTOP = program-handler calc process-list shell about
|
|
APPS_NETWORK_CLIENT = $(APPS_DESKTOP) netconf webbrowser email telnet ftp irc
|
|
APPS_NETWORK_SERVER = netconf cmdd
|
|
|
|
# editor netconf dhcp webbrowser ftp irc email telnet telnetd
|
|
# cmdd codeprop webserver vnc
|
|
# directory
|
|
|
|
PLATFORM_APPS_DESKTOP = multithread tinysample
|
|
PLATFORM_APPS_NETWORK = webserver-mini
|
|
|
|
#defualt values
|
|
#16K, 32K, or ROM
|
|
MEMORY=32K
|
|
#PC6001, PC6001A, or PC6001MK2
|
|
ARCH=PC6001
|
|
|
|
APPS = $(APPS_DESKTOP)
|
|
PLATFORM_APPS=$(PLATFORM_APPS_DESKTOP)
|
|
|
|
all: p6
|
|
|
|
p6:
|
|
rm -f contiki.ihex
|
|
make contiki
|
|
p62:
|
|
rm -f contiki.ihex;
|
|
make contiki ARCH=PC6001MK2
|
|
p6A:
|
|
rm -f contiki.ihex;
|
|
make contiki ARCH=PC6001A
|
|
minimal:
|
|
rm -f contiki.ihex;
|
|
make contiki MEMORY=16K CONTIKI_TARGET_MAIN=contiki-minimal-main.c
|
|
|
|
serial:
|
|
rm -f contiki.ihex;
|
|
make contiki MEMORY=32K CONTIKI_TARGET_MAIN=contiki-serial-main.c
|
|
|
|
rom:
|
|
rm -f contiki.ihex;
|
|
make contiki.rom MEMORY=ROM CONTIKI_TARGET_MAIN=contiki-rom-main.c
|
|
server:
|
|
rm -f contiki.ihex;
|
|
make contiki APPS="$(APPS_NETWORK_SERVER)" PLATFORM_APPS="$(PLATFORM_APPS_NETWORK)" CONTIKI_TARGET_MAIN=contiki-server-main.c
|
|
client:
|
|
rm -f contiki.ihex;
|
|
make contiki APPS="$(APPS_NETWORK_CLIENT)" PLATFORM_APPS="$(PLATFORM_APPS_NETWORK)" CONTIKI_TARGET_MAIN=contiki-client-main.c
|
|
|
|
romdump:
|
|
rm -f contiki.ihex;
|
|
make contiki MEMORY=16K CONTIKI_TARGET_MAIN=romdump.c
|
|
|
|
include $(CONTIKI)/Makefile.include
|