diff options
| author | zhuzhenjun <[email protected]> | 2023-10-09 15:30:06 +0800 |
|---|---|---|
| committer | zhuzhenjun <[email protected]> | 2023-10-09 17:27:01 +0800 |
| commit | 64697d137ee0753ce3c31abfecb2cc0f9dfe83e9 (patch) | |
| tree | a8d93f93d46f936a62c4fda50e92d91e1d0b58fb /example | |
| parent | 56e3dec5f0a4980ca5f1f0b311a43f4bb8ae2e81 (diff) | |
v1.0.0v1.0.0
Diffstat (limited to 'example')
| -rw-r--r-- | example/Makefile.am | 11 | ||||
| -rw-r--r-- | example/sample.c | 2 |
2 files changed, 2 insertions, 11 deletions
diff --git a/example/Makefile.am b/example/Makefile.am index e2524ba..af3077a 100644 --- a/example/Makefile.am +++ b/example/Makefile.am @@ -1,4 +1,4 @@ -bin_PROGRAMS = osfp_example sample +bin_PROGRAMS = osfp_example osfp_example_SOURCES = \ osfp_example.c @@ -12,12 +12,3 @@ osfp_example_LDFLAGS = \ osfp_example_CFLAGS = \ -I../src - -sample_SOURCES = \ - sample.c - -sample_LDADD = \ - ../src/.libs/libosfp.la - -sample_CFLAGS = \ - -I../src diff --git a/example/sample.c b/example/sample.c index a238390..096dd80 100644 --- a/example/sample.c +++ b/example/sample.c @@ -1,5 +1,5 @@ #include "stdio.h" -#include "osfp.h" +#include "libosfp/osfp.h" char iph[] = { 0x45, 0x00, 0x00, 0x34, 0x51, 0xc4, 0x40, 0x00, |
