Skip to content

Commit

Permalink
Fix make test link dep
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Feb 17, 2021
1 parent a4dfc2a commit e425bac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PROJECT:=PlanningNode
SOURCEDIR:=Source
SOURCE:=$(wildcard $(SOURCEDIR)/*.cs $(SOURCEDIR)/*/*.cs $(SOURCEDIR)/*.csproj)
GAMELINK:=$(SOURCEDIR)/KSP_Data
DEFAULTGAMEDIR:=$(HOME)/.local/share/Steam/steamapps/common/Kerbal Space Program
DEFAULTGAMEDIR:=$(HOME)/.local/share/Steam/steamapps/common/Kerbal\ Space\ Program

DISTDIR:=GameData/$(PROJECT)
STATICS:=$(wildcard $(DISTDIR)/* $(DISTDIR)/*/*)
Expand All @@ -23,9 +23,9 @@ $(DLL): $(GAMELINK) $(SOURCE)
cd $(SOURCEDIR) && msbuild /r

$(GAMELINK):
@if [ -x "$(DEFAULTGAMEDIR)" ]; \
@if [ -x $(DEFAULTGAMEDIR) ]; \
then \
ln -s "$(DEFAULTGAMEDIR)"/KSP_Data $@; \
ln -s $(DEFAULTGAMEDIR)/KSP_Data $@; \
else \
echo "$@ not found."; \
echo 'This must be a symlink to Kerbal Space Program/KSP_Data.'; \
Expand Down

0 comments on commit e425bac

Please sign in to comment.