Skip to content

Commit

Permalink
Change the MANAGED dir definition
Browse files Browse the repository at this point in the history
If someone has the `Managed` directory outside of their KSP installation
for some weird reason, or has a different KSP install...I don't actually
know. Just changing the way ${MANAGED} is set, really.
  • Loading branch information
KaiSforza committed Feb 2, 2014
1 parent b341d4f commit d4f94d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Makefile for building MechJeb

KSPDIR := ${HOME}/.local/share/Steam/SteamApps/common/Kerbal\ Space\ Program
MANAGED := KSP_Data/Managed/
MANAGED := ${KSPDIR}/KSP_Data/Managed/

MECHJEBFILES := $(wildcard MechJeb2/*.cs) \
$(wildcard MechJeb2/Properties/*.cs) \
Expand All @@ -28,7 +28,7 @@ info:
build: info
mkdir -p build
${RESGEN2} -usesourcepath MechJeb2/Properties/Resources.resx build/Resources.resources
${GMCS} -t:library -lib:${KSPDIR}/${MANAGED} \
${GMCS} -t:library -lib:${MANAGED} \
-r:Assembly-CSharp,Assembly-CSharp-firstpass,UnityEngine \
-out:build/MechJeb2.dll \
${MECHJEBFILES} \
Expand Down

0 comments on commit d4f94d1

Please sign in to comment.