ButteredToast/Makefile
William Moore 89db83f8e2 Updates
2022-08-17 05:51:20 -05:00

29 lines
998 B
Makefile

INFORM7 := $(INFORM)/inform7/Tangled/inform7
INFORM6 := $(INFORM)/inform6/Tangled/inform6
INBLORB := $(INFORM)/inblorb/Tangled/inblorb
BUILDDIR := build
DISTDIR := dist
SRCDIR := .
TARGETS := ButteredToast ButteredToast2 ButteredToast3
all: $(TARGETS)
$(TARGETS): %.inform
$(eval PROJDIR := $(SRCDIR)/$@.inform)
$(eval SRCS := $(wildcard $(PROJDIR)/Source/*.ni))
$(eval I6S := $(patsubst %.ni,%.i6,$(SRCS)))
$(INFORM7) -project "$(PROJDIR)" $(ARGS)
$(INFORM6) -E2w~S~DG $(PROJDIR)/Build/auto.inf $(PROJDIR)/Build/output.ulx
$(INBLORB) $(PROJDIR)/Release.blurb $(SRCDIR)/$@.gblorb
$(IF)/web.sh $@
%.inform:
echo $@
clean_inform:
echo $(SRCDIR)/$(TARGET_NAME)/Build
clean:
$(foreach TARGET_NAME, $(TARGETS), - rm -rf $(SRCDIR)/$(TARGET_NAME).inform/Build - rm -rf $(SRCDIR)/$(TARGET_NAME).materials/Release $(SRCDIR)/$(TARGET_NAME).inform/Index $(SRCDIR)/$(TARGET_NAME).inform/*.plist $(SRCDIR)/$(TARGET_NAME).inform/*.iFiction $(SRCDIR)/$(TARGET_NAME).inform/*.blurb )
- rm *.gblorb