Skip to content
Permalink
Browse files

Make Makefile work by building it in a subfolder, otherwise the execu…

…table name conflicts with our sources folder.
  • Loading branch information...
Uli Kusterer
Uli Kusterer committed Apr 12, 2017
1 parent 3872819 commit e4c709e2d53c7965c701db5503c932fe66271a25
Showing with 4 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +3 −2 Makefile
@@ -25,3 +25,4 @@ xcuserdata
*.xcworkspace
.idea
*.xcuserdata
products/*
@@ -16,9 +16,10 @@ all: dependencies clean build
dependencies:
git submodule init
git submodule update
mkdir -p ./products

build:
xcrun clang++ -x c++ -std=c++11 -arch x86_64 $(BUGMATIC_SOURCES) $(BUGMATIC_INCLUDES) $(BUGMATIC_LINKER_FLAGS) -o bugmatic
xcrun clang++ -x c++ -std=c++11 -arch x86_64 $(BUGMATIC_SOURCES) $(BUGMATIC_INCLUDES) $(BUGMATIC_LINKER_FLAGS) -o products/bugmatic

clean:
-rm bugmatic
-rm ./products/bugmatic

0 comments on commit e4c709e

Please sign in to comment.
You can’t perform that action at this time.