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@7:f9df43829cea, 2014-12-19 (annotated)
- Committer:
- Patrick Barrett
- Date:
- Fri Dec 19 15:43:03 2014 -0600
- Revision:
- 7:f9df43829cea
make picocoap a subtree instead of submodule
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Patrick Barrett |
7:f9df43829cea | 1 | CC=gcc |
Patrick Barrett |
7:f9df43829cea | 2 | IDIR=src |
Patrick Barrett |
7:f9df43829cea | 3 | OPT:=-Wall -pedantic -std=c99 -g |
Patrick Barrett |
7:f9df43829cea | 4 | |
Patrick Barrett |
7:f9df43829cea | 5 | all: test release |
Patrick Barrett |
7:f9df43829cea | 6 | |
Patrick Barrett |
7:f9df43829cea | 7 | release: src/coap.c |
Patrick Barrett |
7:f9df43829cea | 8 | $(CC) $(OPT) -Os -c src/coap.c -o picocoap.o |
Patrick Barrett |
7:f9df43829cea | 9 | |
Patrick Barrett |
7:f9df43829cea | 10 | debug: src/coap.c |
Patrick Barrett |
7:f9df43829cea | 11 | $(CC) $(OPT) -c src/coap.c -o picocoap.o |
Patrick Barrett |
7:f9df43829cea | 12 | |
Patrick Barrett |
7:f9df43829cea | 13 | test: tests/coap_test.c src/coap.h |
Patrick Barrett |
7:f9df43829cea | 14 | $(CC) $(OPT) tests/coap_test.c src/coap.c -o test |
Patrick Barrett |
7:f9df43829cea | 15 | ./test |
Patrick Barrett |
7:f9df43829cea | 16 | rm test |
Patrick Barrett |
7:f9df43829cea | 17 | |
Patrick Barrett |
7:f9df43829cea | 18 | buildtest: tests/coap_test.c src/coap.h |
Patrick Barrett |
7:f9df43829cea | 19 | $(CC) $(OPT) tests/coap_test.c src/coap.c -o test |
Patrick Barrett |
7:f9df43829cea | 20 | |
Patrick Barrett |
7:f9df43829cea | 21 | posixclient: examples/posix/client.c src/coap.h |
Patrick Barrett |
7:f9df43829cea | 22 | $(CC) $(OPT) -D_POSIX_SOURCE examples/posix/client.c src/coap.c -o posixclient |
Patrick Barrett |
7:f9df43829cea | 23 | |
Patrick Barrett |
7:f9df43829cea | 24 | posixclientd: examples/posix/client_dtls.c src/coap.h |
Patrick Barrett |
7:f9df43829cea | 25 | $(CC) $(OPT) -D_POSIX_SOURCE examples/posix/client_dtls.c src/coap.c -o posixclientd |
Patrick Barrett |
7:f9df43829cea | 26 | |
Patrick Barrett |
7:f9df43829cea | 27 | clean: |
Patrick Barrett |
7:f9df43829cea | 28 | rm -f picocoap.o |
Patrick Barrett |
7:f9df43829cea | 29 | rm -f test |
Patrick Barrett |
7:f9df43829cea | 30 | rm -f posixclient |
Patrick Barrett |
7:f9df43829cea | 31 | rm -f posixclientd |