Skip to content

Instantly share code, notes, and snippets.

@takano32
Last active August 29, 2015 14:18
Show Gist options
  • Save takano32/5ac1d91efc025ebd1a18 to your computer and use it in GitHub Desktop.
Save takano32/5ac1d91efc025ebd1a18 to your computer and use it in GitHub Desktop.
RTKLIB の Darwin 対応
diff --git a/app/convbin/gcc/makefile b/app/convbin/gcc/makefile
index 5e048d3..728c210 100644
--- a/app/convbin/gcc/makefile
+++ b/app/convbin/gcc/makefile
@@ -11,7 +11,7 @@ OPTIONS= -DTRACE -DENAGLO -DENAQZS -DENAGAL -DENACMP -DNFREQ=6 -DNEXOBS=3
CFLAGS = -O3 -ansi -pedantic -Wall -Wno-unused-but-set-variable $(INCLUDE) $(OPTIONS) -g
-LDLIBS = -lm -lrt
+LDLIBS = -lm
all : convbin
diff --git a/app/makeall.sh b/app/makeall.sh
old mode 100644
new mode 100755
diff --git a/app/pos2kml/gcc/makefile b/app/pos2kml/gcc/makefile
index 08621a7..c511f2d 100644
--- a/app/pos2kml/gcc/makefile
+++ b/app/pos2kml/gcc/makefile
@@ -3,7 +3,7 @@
BINDIR = /usr/local/bin
SRC = ../../../src
CFLAGS = -Wall -O3 -ansi -pedantic -I$(SRC) -DTRACE
-LDLIBS = -lm -lrt
+LDLIBS = -lm
pos2kml : pos2kml.o convkml.o solution.o geoid.o rtkcmn.o preceph.o
diff --git a/app/rnx2rtkp/gcc/makefile b/app/rnx2rtkp/gcc/makefile
index c5ceee0..f1d0f61 100644
--- a/app/rnx2rtkp/gcc/makefile
+++ b/app/rnx2rtkp/gcc/makefile
@@ -7,7 +7,7 @@ OPTS = -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3
# for no lapack
CFLAGS = -Wall -O3 -ansi -pedantic -Wno-unused-but-set-variable -I$(SRC) $(OPTS) -g
-LDLIBS = -lm -lrt
+LDLIBS = -lm
#CFLAGS = -Wall -O3 -ansi -pedantic -Wno-unused-but-set-variable -I$(SRC) -DLAPACK $(OPTS)
#LDLIBS = -lm -lrt -llapack -lblas
diff --git a/app/rtkrcv/gcc/makefile b/app/rtkrcv/gcc/makefile
index acd75b2..911b818 100644
--- a/app/rtkrcv/gcc/makefile
+++ b/app/rtkrcv/gcc/makefile
@@ -8,7 +8,7 @@ SRC = ../../../src
CTARGET= -DENAGLO -DENAQZS -DENACMP -DNFREQ=3
CFLAGS = -Wall -O3 -ansi -pedantic -Wno-unused-but-set-variable -I$(SRC) -I.. -DTRACE $(CTARGET) -g
-LDLIBS = -lm -lrt -lpthread
+LDLIBS = -lm -lpthread
all : rtkrcv
rtkrcv : rtkrcv.o vt.o rtkcmn.o rtksvr.o rtkpos.o geoid.o solution.o lambda.o
diff --git a/app/rtkrcv/gcc/rtkshut.sh b/app/rtkrcv/gcc/rtkshut.sh
old mode 100644
new mode 100755
diff --git a/app/rtkrcv/gcc/rtkstart.sh b/app/rtkrcv/gcc/rtkstart.sh
old mode 100644
new mode 100755
diff --git a/app/str2str/gcc/makefile b/app/str2str/gcc/makefile
index ffb232f..ab98fa4 100644
--- a/app/str2str/gcc/makefile
+++ b/app/str2str/gcc/makefile
@@ -9,7 +9,7 @@ CTARGET=
OPTION = -DENAGLO -DENAGAL -DENAQZS -DENACMP -DTRACE -DNFREQ=3 -DNEXOBS=3
CFLAGS = -Wall -O3 -ansi -pedantic -Wno-unused-but-set-variable -I$(SRC) $(OPTION) $(CTARGET) -g
-LDLIBS = -lm -lrt -lpthread
+LDLIBS = -lm -lpthread
all : str2str
str2str : str2str.o stream.o rtkcmn.o solution.o sbas.o geoid.o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment