2007-09-11 12:12:59 +00:00
|
|
|
#
|
|
|
|
# Makefile for PC-6001 using z80/SDCC
|
|
|
|
# @author Takahide Matsutsuka <markn@markn.org>
|
|
|
|
#
|
2007-11-28 10:03:40 +00:00
|
|
|
# $Id: Makefile,v 1.5 2007/11/28 10:03:40 matsutsuka Exp $
|
2007-09-11 12:12:59 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
CONTIKI = ../..
|
|
|
|
TARGET=pc-6001
|
|
|
|
APPS_DESKTOP = program-handler calc process-list shell about
|
2007-09-29 04:07:00 +00:00
|
|
|
APPS_NETWORK_CLIENT = $(APPS_DESKTOP) netconf webbrowser email telnet ftp irc
|
2007-11-28 09:43:01 +00:00
|
|
|
APPS_NETWORK_SERVER = cmdd telnetd shell www
|
2007-09-11 12:12:59 +00:00
|
|
|
# editor netconf dhcp webbrowser ftp irc email telnet telnetd
|
|
|
|
# cmdd codeprop webserver vnc
|
|
|
|
# directory
|
|
|
|
|
|
|
|
PLATFORM_APPS_DESKTOP = multithread tinysample
|
|
|
|
PLATFORM_APPS_NETWORK = webserver-mini
|
|
|
|
|
|
|
|
PLATFORM_APPS=$(PLATFORM_APPS_DESKTOP)
|
|
|
|
|
2007-11-28 10:03:40 +00:00
|
|
|
ifeq ($(MAKECMDGOALS),client)
|
|
|
|
APPS = $(APPS_NETWORK_CLIENT)
|
|
|
|
else ifeq ($(MAKECMDGOALS),server)
|
|
|
|
APPS = $(APPS_NETWORK_SERVER)
|
|
|
|
else
|
|
|
|
APPS = $(APPS_DESKTOP)
|
|
|
|
endif
|
|
|
|
|
2007-11-28 09:43:01 +00:00
|
|
|
all : p6
|
|
|
|
|
|
|
|
p6 : contiki
|
|
|
|
p62 : contiki
|
|
|
|
p6A : contiki
|
|
|
|
minimal : contiki
|
|
|
|
serial : contiki
|
|
|
|
rom : contiki.rom
|
|
|
|
load : contiki
|
|
|
|
server : contiki
|
|
|
|
client : contiki
|
2007-09-11 12:12:59 +00:00
|
|
|
|
|
|
|
include $(CONTIKI)/Makefile.include
|