Update to use Makefile
This commit is contained in:
parent
d123a65c8c
commit
7ba4a5c416
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,4 +1,7 @@
|
||||
*.i6
|
||||
*.zblorb
|
||||
*.z8
|
||||
.DS_Store
|
||||
.DS_Store
|
||||
build/
|
||||
dist/
|
||||
.vscode/
|
25
Makefile
Normal file
25
Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
INFORM := ../inform7/inform
|
||||
INFORM7 := $(INFORM)/inform7/Tangled/inform7
|
||||
INFORM6 := $(INFORM)/inform6/Tangled/inform6
|
||||
INBLORB := $(INFORM)/inblorb/Tangled/inblorb
|
||||
BUILDDIR := build
|
||||
DISTDIR := dist
|
||||
SRCDIR := src
|
||||
TARGET := ButteredToast1
|
||||
|
||||
SRCS := $(wildcard $(SRCDIR)/*.inf)
|
||||
I6S := $(patsubst %.inf,%.i6,$(SRCS))
|
||||
|
||||
all: $(TARGET)
|
||||
$(INBLORB) ButteredToast.blub ButteredToast.zblorb
|
||||
|
||||
$(TARGET): $(I6S)
|
||||
$(INFORM6) -E2w~S~Dv8 $<
|
||||
|
||||
%.i6: %.inf
|
||||
$(INFORM7) -format=Inform6/16d $<
|
||||
|
||||
clean:
|
||||
rm $(SRCDIR)/*.i6
|
||||
rm *.zblorb
|
||||
rm *.z8
|
Loading…
Reference in New Issue
Block a user