Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erweiterung Lernfabrik 4.0 #5

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#TOOLCHAIN_BIN_PATH = toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf/bin
#set env var, e.g. "export TOOLCHAIN_BIN_PATH=/opt/FT/TXT/opt/ext-toolchain/bin"

#check if TOOLCHAIN_BIN_PATH environment variable is set:
ifndef TOOLCHAIN_BIN_PATH
$(error TOOLCHAIN_BIN_PATH is undefined! Set with 'export TOOLCHAIN_BIN_PATH=/path/to/toolchain/bin')
endif

TOOLCHAIN_PREFIX = arm-linux-gnueabihf-
COMPILER = g++
AR = ar
Expand Down Expand Up @@ -170,3 +176,4 @@ $(BIN_DIR)/TxtParkPosMPO: TxtSmartFactoryLib/Posix_Release/libTxtSmartFactoryLib
clean:
rm -f -r TxtSmartFactoryLib/Posix_Release TxtSmartFactoryLib/Posix_Debug TxtFactoryClient/HBW_Release TxtFactoryClient/VGR_Release TxtFactoryClient/MPO_Release TxtFactoryClient/SLD_Release TxtFactoryClient/HBW_Debug TxtFactoryClient/VGR_Debug TxtFactoryClient/MPO_Debug TxtFactoryClient/SLD_Debug TxtFactoryMain/Posix_Release TxtFactoryMain/Posix_Debug TxtParkPos/SSC TxtParkPos/HBW TxtParkPos/VGR TxtParkPos/MPO $(BIN_DIR)/*