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