Ram Gandikota
/
ABCD
A metronome using the FRDM K64F board
Diff: mbed-client/test/mbedclient_linux/Makefile
- Revision:
- 0:a7a43371b306
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-client/test/mbedclient_linux/Makefile Sun May 14 18:40:18 2017 +0000 @@ -0,0 +1,17 @@ +PLATFORM= +OS = LINUX +TARGET = mbedclient_linux +OBJECTS = main.o +CFLAGS = -std=c++11 -Wall -D_REENTRANT -D$(OS) -I ../../lwm2m-client -I ../../source/include -I ../../../../libService/libService -I ../../ -DTARGET_LIKE_LINUX -DHAVE_DEBUG +LDFLAGS = -D_REENTRANT -L../../ -lmbedclient_gcc -L ../../../../nsdl-c -lnsdl_gcc -L ../../../../libService -lservice_gcc -L ../../../../mbedtls/library -lmbedtls -lmbedx509 -lmbedcrypto -lpthread +all: $(TARGET) + +$(TARGET): $(OBJECTS) + $(PLATFORM)g++ -g -o $(TARGET) $(OBJECTS) $(LDFLAGS) + +.cpp.o: + $(PLATFORM)g++ -c -g -O2 $(CFLAGS) $< + +clean: + rm -f $(TARGET) $(OBJECTS) +