2007-09-11 14:12:59 +02:00
|
|
|
#
|
|
|
|
# Makefile for PC-6001 using z80/SDCC
|
|
|
|
# @author Takahide Matsutsuka <markn@markn.org>
|
|
|
|
#
|
2007-11-28 11:11:55 +01:00
|
|
|
# $Id: Makefile,v 1.6 2007/11/28 10:11:55 matsutsuka Exp $
|
2007-09-11 14:12:59 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
CONTIKI = ../..
|
|
|
|
TARGET=pc-6001
|
|
|
|
APPS_DESKTOP = program-handler calc process-list shell about
|
2007-09-29 06:07:00 +02:00
|
|
|
APPS_NETWORK_CLIENT = $(APPS_DESKTOP) netconf webbrowser email telnet ftp irc
|
2007-11-28 11:11:55 +01:00
|
|
|
APPS_NETWORK_SERVER = program-handler cmdd telnetd shell
|
2007-09-11 14:12:59 +02: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 11:03:40 +01:00
|
|
|
ifeq ($(MAKECMDGOALS),client)
|
|
|
|
APPS = $(APPS_NETWORK_CLIENT)
|
|
|
|
else ifeq ($(MAKECMDGOALS),server)
|
|
|
|
APPS = $(APPS_NETWORK_SERVER)
|
|
|
|
else
|
|
|
|
APPS = $(APPS_DESKTOP)
|
|
|
|
endif
|
|
|
|
|
2007-11-28 10:43:01 +01: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 14:12:59 +02:00
|
|
|
|
|
|
|
include $(CONTIKI)/Makefile.include
|