makefile
来自「gpstk1.5的有关内容 对于刚刚接触gps有一定的帮助 很有用的啊」· 代码 · 共 52 行
TXT
52 行
## $Id: Makefile 71 2006-08-01 18:46:39Z ehagen $## This simple makefile builds a Java interface to the GPSTk from code# generated the SWIG utility (http://www.swig.org/). ### What you do need:# - A C/C++ compiler.# - Development kit for Java# - The sed utility# - the swig utility# # Not all GPSTk functionality is present in these bindings.# Two reasons: First, this is a work in progress and should be considered# incomplete. Second, not all of the GPSTk's functionality _can_ be mapped# into other languages such as Java.## Examples of usage of this interface are in the examples subdirectory.## Reminder for later: $@ is target, $< is rhs, $^ is rhsall : libgpstk.so gpstk_wrap.cxx: ../gpstk.i ../common.i ../Exception.i ../GPSZcount.i \ ../DayTime.i swig -java -c++ -noexcept -I.. gpstk.igpstk_wrap_mod.cxx: gpstk_wrap.cxx sed 's/DayTime.hpp\"/DayTime.hpp\"\nusing namespace gpstk;/' gpstk_wrap.cxx > gpstk_wrap_mod.cxxgpstk_wrap_mod.o: gpstk_wrap_mod.cxx g++ -fPIC -c gpstk_wrap_mod.cxx -I.. \ -I/usr/local/jdk1.5.0_01/include \ -I/usr/local/jdk1.5.0_01/include/linuxlibgpstk.so: gpstk_wrap_mod.o g++ -shared gpstk_wrap_mod.o -o libgpstk.so -lgpstkclean: rm *.class rm *.java rm *_wrap* rm *gpstk*.so
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?