-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (28 loc) · 969 Bytes
/
Makefile
File metadata and controls
37 lines (28 loc) · 969 Bytes
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
36
37
# This is a Makefile for Inform 10.x project, on Mac.
# INFORM_HOME is where you clone inform, intest and inweb.
INFORM_HOME=~/Documents/private/inform10
# OUTPUT is how you want to name your output file, minus extension.
OUTPUT="My Project"
.DEFAULT_GOAL := blorb
uuid:
uuidgen | tr -d '\n'> uuid.txt
inform6:
${INFORM_HOME}/inform/inform7/Tangled/inform7 -no-progress -project .
glulx: inform6
${INFORM_HOME}/inform/inform6/Tangled/inform6 -E2wSDG ./Build/auto.inf ./Build/output.ulx
blorb: glulx
${INFORM_HOME}/inform/inblorb/Tangled/inblorb ./Release.blurb ./Build/output.gblorb
cp ./Build/output.gblorb ./Release/${OUTPUT}.gblorb
# plays the game in the terminal, install glulxe first
play: blorb
glulxe ./Release/${OUTPUT}.gblorb
# "opens" the game, install Spatterlight first
open: blorb
open ./Release/${OUTPUT}.gblorb
clean:
@rm -rf Release
@rm -rf Build
@rm -rf Index
@rm -f Metadata.iFiction
@rm -f Release.blurb
@rm -f manifest.plist