Fetch the repository succeeded.
################################################################################
#Lib_ZY Top Makefile.
################################################################################
export MAKE = make -j4
export MAKE_OS = linux # win32 mac
export TOPDIR = $(shell pwd)
#Where to put object files *.o
export BUILD_PATH = $(TOPDIR)/build
#Where to put final applications
export BIN_PATH = $(TOPDIR)/bin
#Where to put libraries
export LIBS_PATH = $(TOPDIR)/libs
export LIB_MAKE_TYPE = shared # static #
.PHONY: all apps libs sophus vikit_common thirdparty
all :libs apps
libs:
@echo "Compiling librarys of PIL"
$(MAKE) -C src
thirdparty:sophus vikit_common
sophus:
@echo "Compiling librarys of PIL"
$(MAKE) -C Thirdparty/sophus
vikit_common: sophus
@echo "Compiling librarys of PIL"
$(MAKE) -C Thirdparty/vikit_common
apps: libs thirdparty
@echo "Compiling apps of PIL"
$(MAKE) -C apps
clean :
rm -r $(BUILD_PATH)/* $(BIN_PATH)/*
clean_tmp:
rm -r $(BUILD_PATH)/*
Sign in for post a comment
Comment ( 0 )