-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
52 lines (44 loc) · 1.14 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#
# Specify the target (to avoid in Makefile.target)
#
all:
#
# Application file
#
APPLDIR += ../../wolfssl-3.9.10/
LIBS += /usr/local/lib/libwolfssl.a
APPLNAME = tinyip
APPL_CXXOBJS = ethernet.o ip.o arp.o icmp.o udp.o tcp.o \
util.o morse.o netconf.o netlib.o sntpclient.o \
httpd.o ftpd.o dhclient.o nameresolver.o tweet.o twitter_keys.o
USE_CXX = true
APPL_CFG = $(APPLNAME).cfg
DEBUG = true
OMIT_OPTIMIZATION = true
#
# Define the directory of MBED library
#
MBED_LIB_DIR = ../../mbed-lib
#
# Define the directory of ASP kernel
#
SRCDIR = ../../asp-1.9.2-utf8
#
# Include Makefiles of MBED library
#
include $(MBED_LIB_DIR)/common/Makefile.cmn
include $(MBED_LIB_DIR)/mbed-src/Makefile.src
#include $(MBED_LIB_DIR)/EthernetInterface/Makefile.eif
#include $(MBED_LIB_DIR)/mbed-rpc/Makefile.rpc
#include $(MBED_LIB_DIR)/HttpServer_snapshot/Makefile.hss
include $(MBED_LIB_DIR)/FATFileSystem/Makefile.ffs
#include $(MBED_LIB_DIR)/i2c/Makefile.i2c
include $(MBED_LIB_DIR)/Makefile.mbd
#
# Include the Makefile of ASP kernel
#
KERNEL_LIB = .
include $(SRCDIR)/Makefile.asp
install:
cp asp.bin /media/daiki/MBED
all_and_install: all install