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.
picocoap/Makefile
- Committer:
- Patrick Barrett
- Date:
- 2015-01-07
- Revision:
- 29:004c318e63fa
- Parent:
- 7:f9df43829cea
File content as of revision 29:004c318e63fa:
CC=gcc IDIR=src OPT:=-Wall -pedantic -std=c99 -g all: test release release: src/coap.c $(CC) $(OPT) -Os -c src/coap.c -o picocoap.o debug: src/coap.c $(CC) $(OPT) -c src/coap.c -o picocoap.o test: tests/coap_test.c src/coap.h $(CC) $(OPT) tests/coap_test.c src/coap.c -o test ./test rm test buildtest: tests/coap_test.c src/coap.h $(CC) $(OPT) tests/coap_test.c src/coap.c -o test posixclient: examples/posix/client.c src/coap.h $(CC) $(OPT) -D_POSIX_SOURCE examples/posix/client.c src/coap.c -o posixclient posixclientd: examples/posix/client_dtls.c src/coap.h $(CC) $(OPT) -D_POSIX_SOURCE examples/posix/client_dtls.c src/coap.c -o posixclientd clean: rm -f picocoap.o rm -f test rm -f posixclient rm -f posixclientd