forked from giraldeau/evnav
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Creating the library libevnav * Removing the core code from evnav command line tool * Renaming evnav to evnav-cli Signed-off-by: Francis Giraldeau <[email protected]>
- Loading branch information
Showing
19 changed files
with
378 additions
and
34 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
TEMPLATE = subdirs | ||
|
||
SUBDIRS += \ | ||
graph \ | ||
libevnav \ | ||
example \ | ||
evnav \ | ||
evnav-cli \ | ||
tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,343 @@ | ||
############################################################################# | ||
# Makefile for building: libevnav.a | ||
# Generated by qmake (3.0) (Qt 5.4.2) | ||
# Project: libevnav.pro | ||
# Template: lib | ||
# Command: /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile libevnav.pro | ||
############################################################################# | ||
|
||
MAKEFILE = Makefile | ||
|
||
####### Compiler, tools and options | ||
|
||
CC = gcc | ||
CXX = g++ | ||
DEFINES = -DQT_NO_DEBUG -DQT_CORE_LIB | ||
CFLAGS = -m64 -pipe -O2 -fPIC -Wall -W -D_REENTRANT $(DEFINES) | ||
CXXFLAGS = -m64 -pipe -O2 -fPIC -std=c++1y -Wall -W -D_REENTRANT $(DEFINES) | ||
INCPATH = -I. -isystem /usr/local/include/osrm -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 | ||
QMAKE = /usr/lib/x86_64-linux-gnu/qt5/bin/qmake | ||
DEL_FILE = rm -f | ||
CHK_DIR_EXISTS= test -d | ||
MKDIR = mkdir -p | ||
COPY = cp -f | ||
COPY_FILE = cp -f | ||
COPY_DIR = cp -f -R | ||
INSTALL_FILE = install -m 644 -p | ||
INSTALL_PROGRAM = install -m 755 -p | ||
INSTALL_DIR = $(COPY_DIR) | ||
DEL_FILE = rm -f | ||
SYMLINK = ln -f -s | ||
DEL_DIR = rmdir | ||
MOVE = mv -f | ||
TAR = tar -cf | ||
COMPRESS = gzip -9f | ||
DISTNAME = evnav1.0.0 | ||
DISTDIR = /home/francis/gitsrc/evnav/libevnav/.tmp/evnav1.0.0 | ||
AR = ar cqs | ||
RANLIB = | ||
SED = sed | ||
STRIP = strip | ||
|
||
####### Output directory | ||
|
||
OBJECTS_DIR = ./ | ||
|
||
####### Files | ||
|
||
SOURCES = graph.cpp \ | ||
edge.cpp \ | ||
shortestpath.cpp | ||
OBJECTS = graph.o \ | ||
edge.o \ | ||
shortestpath.o | ||
DIST = /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_pre.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/shell-unix.conf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/unix.conf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/linux.conf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/gcc-base.conf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/gcc-base-unix.conf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/g++-base.conf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/g++-unix.conf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/qconfig.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_concurrent.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_core.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_core_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_dbus.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_dbus_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_gui.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_gui_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_network.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_network_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_opengl.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_opengl_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_openglextensions.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_platformsupport_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_printsupport.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_printsupport_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_sql.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_sql_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_testlib.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_testlib_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_widgets.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_widgets_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_xml.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_xml_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_functions.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_config.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64/qmake.conf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_post.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/exclusive_builds.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/default_pre.prf \ | ||
../common.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/resolve_config.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/default_post.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/c++11.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/c++14.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/warn_on.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/resources.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/moc.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/unix/thread.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/testcase_targets.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/exceptions.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/yacc.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/lex.prf \ | ||
libevnav.pro graph.h \ | ||
edge.h \ | ||
shortestpath.h graph.cpp \ | ||
edge.cpp \ | ||
shortestpath.cpp | ||
QMAKE_TARGET = evnav | ||
DESTDIR = #avoid trailing-slash linebreak | ||
TARGET = libevnav.a | ||
|
||
|
||
first: all | ||
####### Implicit rules | ||
|
||
.SUFFIXES: .o .c .cpp .cc .cxx .C | ||
|
||
.cpp.o: | ||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | ||
|
||
.cc.o: | ||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | ||
|
||
.cxx.o: | ||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | ||
|
||
.C.o: | ||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | ||
|
||
.c.o: | ||
$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" | ||
|
||
####### Build rules | ||
|
||
staticlib: $(TARGET) | ||
|
||
$(TARGET): $(OBJECTS) $(OBJCOMP) | ||
-$(DEL_FILE) $(TARGET) | ||
$(AR) $(TARGET) $(OBJECTS) | ||
|
||
|
||
Makefile: libevnav.pro /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64/qmake.conf /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_pre.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/shell-unix.conf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/unix.conf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/linux.conf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/gcc-base.conf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/gcc-base-unix.conf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/g++-base.conf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/g++-unix.conf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/qconfig.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_concurrent.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_core.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_core_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_dbus.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_dbus_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_gui.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_gui_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_network.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_network_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_opengl.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_opengl_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_openglextensions.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_platformsupport_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_printsupport.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_printsupport_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_sql.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_sql_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_testlib.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_testlib_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_widgets.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_widgets_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_xml.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_xml_private.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_functions.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_config.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64/qmake.conf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_post.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/exclusive_builds.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/default_pre.prf \ | ||
../common.pri \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/resolve_config.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/default_post.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/c++11.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/c++14.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/warn_on.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/resources.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/moc.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/unix/thread.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/testcase_targets.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/exceptions.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/yacc.prf \ | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/lex.prf \ | ||
libevnav.pro \ | ||
/usr/lib/x86_64-linux-gnu/libQt5Core.prl | ||
$(QMAKE) -o Makefile libevnav.pro | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_pre.prf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/shell-unix.conf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/unix.conf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/linux.conf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/gcc-base.conf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/gcc-base-unix.conf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/g++-base.conf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/g++-unix.conf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/qconfig.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_concurrent.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_concurrent_private.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_core.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_core_private.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_dbus.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_dbus_private.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_gui.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_gui_private.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_network.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_network_private.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_opengl.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_opengl_private.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_openglextensions.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_platformsupport_private.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_printsupport.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_printsupport_private.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_sql.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_sql_private.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_testlib.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_testlib_private.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_widgets.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_widgets_private.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_xml.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_xml_private.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_functions.prf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_config.prf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64/qmake.conf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_post.prf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/exclusive_builds.prf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/default_pre.prf: | ||
../common.pri: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/resolve_config.prf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/default_post.prf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/c++11.prf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/c++14.prf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/warn_on.prf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt.prf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/resources.prf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/moc.prf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/unix/thread.prf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/testcase_targets.prf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/exceptions.prf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/yacc.prf: | ||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/lex.prf: | ||
libevnav.pro: | ||
/usr/lib/x86_64-linux-gnu/libQt5Core.prl: | ||
qmake: FORCE | ||
@$(QMAKE) -o Makefile libevnav.pro | ||
|
||
qmake_all: FORCE | ||
|
||
|
||
all: Makefile $(TARGET) | ||
|
||
dist: distdir FORCE | ||
(cd `dirname $(DISTDIR)` && $(TAR) $(DISTNAME).tar $(DISTNAME) && $(COMPRESS) $(DISTNAME).tar) && $(MOVE) `dirname $(DISTDIR)`/$(DISTNAME).tar.gz . && $(DEL_FILE) -r $(DISTDIR) | ||
|
||
distdir: FORCE | ||
@test -d $(DISTDIR) || mkdir -p $(DISTDIR) | ||
$(COPY_FILE) --parents $(DIST) $(DISTDIR)/ | ||
$(COPY_FILE) --parents graph.h edge.h shortestpath.h $(DISTDIR)/ | ||
$(COPY_FILE) --parents graph.cpp edge.cpp shortestpath.cpp $(DISTDIR)/ | ||
|
||
|
||
clean:compiler_clean | ||
-$(DEL_FILE) $(OBJECTS) | ||
-$(DEL_FILE) *~ core *.core | ||
|
||
|
||
distclean: clean | ||
-$(DEL_FILE) $(TARGET) | ||
-$(DEL_FILE) Makefile | ||
|
||
|
||
####### Sub-libraries | ||
|
||
mocclean: compiler_moc_header_clean compiler_moc_source_clean | ||
|
||
mocables: compiler_moc_header_make_all compiler_moc_source_make_all | ||
|
||
check: first | ||
|
||
compiler_rcc_make_all: | ||
compiler_rcc_clean: | ||
compiler_moc_header_make_all: | ||
compiler_moc_header_clean: | ||
compiler_moc_source_make_all: | ||
compiler_moc_source_clean: | ||
compiler_yacc_decl_make_all: | ||
compiler_yacc_decl_clean: | ||
compiler_yacc_impl_make_all: | ||
compiler_yacc_impl_clean: | ||
compiler_lex_make_all: | ||
compiler_lex_clean: | ||
compiler_clean: | ||
|
||
####### Compile | ||
|
||
graph.o: graph.cpp graph.h \ | ||
edge.h | ||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o graph.o graph.cpp | ||
|
||
edge.o: edge.cpp edge.h | ||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o edge.o edge.cpp | ||
|
||
shortestpath.o: shortestpath.cpp shortestpath.h \ | ||
graph.h \ | ||
edge.h | ||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o shortestpath.o shortestpath.cpp | ||
|
||
####### Install | ||
|
||
install_target: first FORCE | ||
@test -d $(INSTALL_ROOT)/usr/lib || mkdir -p $(INSTALL_ROOT)/usr/lib | ||
-$(INSTALL_FILE) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib/$(TARGET)" | ||
|
||
uninstall_target: FORCE | ||
-$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib/$(TARGET)" | ||
-$(DEL_DIR) $(INSTALL_ROOT)/usr/lib/ | ||
|
||
|
||
install: install_target FORCE | ||
|
||
uninstall: uninstall_target FORCE | ||
|
||
FORCE: | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.