summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/Makefile.am11
-rw-r--r--example/sample.c2
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,