summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2012-01-24 21:08:24 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2012-01-24 21:08:51 +0100
commit67f9d16884a0da53208c23499e20fe29472099e9 (patch)
tree169ec71c024adc63290e1818a3ac7c6ff48954f7
parent0ffd9c5c745a7c6b4ff39f6f7a00b0ace80a63da (diff)
downloadbcm4751-67f9d16884a0da53208c23499e20fe29472099e9.tar.gz
bcm4751-67f9d16884a0da53208c23499e20fe29472099e9.tar.bz2
bcm4751-67f9d16884a0da53208c23499e20fe29472099e9.zip
Make it build, add a Makefile
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
-rw-r--r--Makefile6
-rw-r--r--bcm4751_test.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..eb48aed
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,6 @@
+all: gps-test-crespo
+
+gps-test-crespo: bcm4751_test.c
+ $(CC) -o $@ $^
+clean:
+ rm -f gps-test-crespo
diff --git a/bcm4751_test.c b/bcm4751_test.c
index bac8077..55fba55 100644
--- a/bcm4751_test.c
+++ b/bcm4751_test.c
@@ -4,7 +4,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <unistd.h>
-#include <termios.h>
+#include <termio.h>
#include <errno.h>
#include <sys/types.h>