Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
mbed-client/test/helloworld-mbedclient/Makefile
- Committer:
- ram54288
- Date:
- 2017-05-14
- Revision:
- 0:a7a43371b306
File content as of revision 0:a7a43371b306:
PLATFORM=
OS = LINUX
TARGET = helloworld_mbedclient
OBJECTS = main.o mbedclient.o
CFLAGS = -std=c++11 -Wall -D_REENTRANT -D$(OS) -I ../../lwm2m-client \
-I ../../source/include -I ../../../../libService/libService \
-I ../../ -I ../../../ -DTARGET_LIKE_LINUX -DHAVE_DEBUG
LDFLAGS = -D_REENTRANT -L../../ -lmbedclient_gcc -L ../../../../nsdl-c -lnsdl_gcc \
-L ../../../../libService -lservice_gcc -lpthread\
-L../../../../mbedtls/library -lmbedtls -lmbedcrypto -lmbedx509
all: $(TARGET)
$(TARGET): $(OBJECTS)
$(PLATFORM)g++ -g -o $(TARGET) $(OBJECTS) $(LDFLAGS)
.cpp.o:
$(PLATFORM)g++ -c -g -O2 $(CFLAGS) $<
clean:
rm -f $(TARGET) $(OBJECTS)