👷 Add Makefiles
This commit is contained in:
parent
a54e850bdd
commit
229633cd48
3 changed files with 30 additions and 0 deletions
12
Makefile
Normal file
12
Makefile
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
.PHONY: default
|
||||
|
||||
default: remontel.ulx
|
||||
|
||||
remontel.ulx: remontel.inf Rooms.inf lib/Parser.h lib/VerbLib.h lib/Grammar.h
|
||||
inform -G +include_path=,lib remontel.inf
|
||||
|
||||
remontel.z5: remontel.inf Rooms.inf lib/Parser.h lib/VerbLib.h lib/Grammar.h
|
||||
inform +include_path=,lib remontel.inf
|
||||
|
||||
lib/Parser.h lib/VerbLib.h lib/Grammar.h:
|
||||
$(MAKE) -C lib Parser.h
|
||||
3
lib/.gitignore
vendored
Normal file
3
lib/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
*
|
||||
!.gitignore
|
||||
!Makefile
|
||||
15
lib/Makefile
Normal file
15
lib/Makefile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
.PHONY: default
|
||||
|
||||
default: Parser.h
|
||||
|
||||
parser.h grammar.h verblib.h:
|
||||
wget https://ifarchive.org/if-archive/infocom/compilers/inform6/library/inform6lib-6.12.5.zip
|
||||
unzip -u -j inform6lib-6.12.5.zip
|
||||
rm -v inform6lib-6.12.5.zip
|
||||
|
||||
Parser.h Grammar.h VerbLib.h: parser.h grammar.h verblib.h
|
||||
ln -s parser.h Parser.h
|
||||
ln -s grammar.h Grammar.h
|
||||
ln -s verblib.h VerbLib.h
|
||||
ln -s english.h English.h
|
||||
ln -s version.h Version.h
|
||||
Loading…
Add table
Add a link
Reference in a new issue