-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathMakefile
35 lines (29 loc) · 835 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
export MODNAME := ExtraplanetaryLaunchpads
export KSPDIR := ${HOME}/ksp/KSP_linux
export MANAGED := ${KSPDIR}/KSP_Data/Managed
export GAMEDATA := ${KSPDIR}/GameData
export MODGAMEDATA := ${GAMEDATA}/${MODNAME}
export PLUGINDIR := ${MODGAMEDATA}/Plugins
export APIEXTDATA := ${PLUGINDIR}
RESGEN2 := resgen2
CSC := csc
GIT := git
TAR := tar
ZIP := zip
.PHONY: all clean info install release
SUBDIRS=Assets Documentation GameData Source
all clean install:
@for dir in ${SUBDIRS}; do \
make -C $$dir $@ || exit 1; \
done
info:
@echo "${MODNAME} Build Information"
@echo " resgen2: ${RESGEN2}"
@echo " gmcs: ${CSC}"
@echo " git: ${GIT}"
@echo " tar: ${TAR}"
@echo " zip: ${ZIP}"
@echo " KSP Data: ${KSPDIR}"
@echo " Plugin: ${PLUGINDIR}"
release:
tools/make-release -u