diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2012-01-24 21:08:24 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2012-01-24 21:08:51 +0100 |
commit | 67f9d16884a0da53208c23499e20fe29472099e9 (patch) | |
tree | 169ec71c024adc63290e1818a3ac7c6ff48954f7 | |
parent | 0ffd9c5c745a7c6b4ff39f6f7a00b0ace80a63da (diff) | |
download | bcm4751-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-- | Makefile | 6 | ||||
-rw-r--r-- | bcm4751_test.c | 2 |
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> |