diff options
| author | zhuzhenjun <[email protected]> | 2023-10-12 10:30:55 +0800 |
|---|---|---|
| committer | zhuzhenjun <[email protected]> | 2023-10-12 14:48:10 +0800 |
| commit | 7e1849233b8640e6139143c99423bf71cca0b6b2 (patch) | |
| tree | ff19da0dd415c7b947154e938c5c3e86b80b3ffe /example | |
| parent | b7ee7242443f011c4188f94a750e4db3338473f7 (diff) | |
compile: migrate to cmake
ci: migrate to MESA ci template
Diffstat (limited to 'example')
| -rw-r--r-- | example/Makefile.am | 14 | ||||
| -rw-r--r-- | example/sample.c | 2 |
2 files changed, 1 insertions, 15 deletions
diff --git a/example/Makefile.am b/example/Makefile.am deleted file mode 100644 index af3077a..0000000 --- a/example/Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ -bin_PROGRAMS = osfp_example - -osfp_example_SOURCES = \ - osfp_example.c - -osfp_example_LDADD = \ - ../src/.libs/libosfp.la - -osfp_example_LDFLAGS = \ - -lpcap - -osfp_example_CFLAGS = \ - -I../src - diff --git a/example/sample.c b/example/sample.c index 40a6cb7..6313c62 100644 --- a/example/sample.c +++ b/example/sample.c @@ -1,5 +1,5 @@ #include "stdio.h" -#include "libosfp/osfp.h" +#include "osfp.h" char iph[] = { 0x45, 0x00, 0x00, 0x34, 0x51, 0xc4, 0x40, 0x00, |
