Ram Gandikota
/
ABCD
A metronome using the FRDM K64F board
mbed-client/test/helloworld-mbedclient/Makefile@0:a7a43371b306, 2017-05-14 (annotated)
- Committer:
- ram54288
- Date:
- Sun May 14 18:40:18 2017 +0000
- Revision:
- 0:a7a43371b306
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ram54288 | 0:a7a43371b306 | 1 | PLATFORM= |
ram54288 | 0:a7a43371b306 | 2 | OS = LINUX |
ram54288 | 0:a7a43371b306 | 3 | TARGET = helloworld_mbedclient |
ram54288 | 0:a7a43371b306 | 4 | OBJECTS = main.o mbedclient.o |
ram54288 | 0:a7a43371b306 | 5 | CFLAGS = -std=c++11 -Wall -D_REENTRANT -D$(OS) -I ../../lwm2m-client \ |
ram54288 | 0:a7a43371b306 | 6 | -I ../../source/include -I ../../../../libService/libService \ |
ram54288 | 0:a7a43371b306 | 7 | -I ../../ -I ../../../ -DTARGET_LIKE_LINUX -DHAVE_DEBUG |
ram54288 | 0:a7a43371b306 | 8 | |
ram54288 | 0:a7a43371b306 | 9 | LDFLAGS = -D_REENTRANT -L../../ -lmbedclient_gcc -L ../../../../nsdl-c -lnsdl_gcc \ |
ram54288 | 0:a7a43371b306 | 10 | -L ../../../../libService -lservice_gcc -lpthread\ |
ram54288 | 0:a7a43371b306 | 11 | -L../../../../mbedtls/library -lmbedtls -lmbedcrypto -lmbedx509 |
ram54288 | 0:a7a43371b306 | 12 | |
ram54288 | 0:a7a43371b306 | 13 | all: $(TARGET) |
ram54288 | 0:a7a43371b306 | 14 | |
ram54288 | 0:a7a43371b306 | 15 | $(TARGET): $(OBJECTS) |
ram54288 | 0:a7a43371b306 | 16 | $(PLATFORM)g++ -g -o $(TARGET) $(OBJECTS) $(LDFLAGS) |
ram54288 | 0:a7a43371b306 | 17 | |
ram54288 | 0:a7a43371b306 | 18 | .cpp.o: |
ram54288 | 0:a7a43371b306 | 19 | $(PLATFORM)g++ -c -g -O2 $(CFLAGS) $< |
ram54288 | 0:a7a43371b306 | 20 | |
ram54288 | 0:a7a43371b306 | 21 | clean: |
ram54288 | 0:a7a43371b306 | 22 | rm -f $(TARGET) $(OBJECTS) |
ram54288 | 0:a7a43371b306 | 23 |