2022-07-05 11:25:37 +00:00
|
|
|
BUILDDIR := build
|
|
|
|
DISTDIR := dist
|
2022-07-21 10:40:04 +00:00
|
|
|
SRCDIR := .
|
2022-08-09 08:09:44 +00:00
|
|
|
TARGETS := ButteredToast ButteredToast2 ButteredToast3
|
2022-07-05 11:25:37 +00:00
|
|
|
|
2022-07-25 21:24:46 +00:00
|
|
|
all: $(TARGETS)
|
2022-07-05 11:25:37 +00:00
|
|
|
|
2022-07-25 21:55:02 +00:00
|
|
|
$(TARGETS): %.inform
|
2022-07-25 21:24:46 +00:00
|
|
|
$(eval PROJDIR := $(SRCDIR)/$@.inform)
|
|
|
|
$(eval SRCS := $(wildcard $(PROJDIR)/Source/*.ni))
|
|
|
|
$(eval I6S := $(patsubst %.ni,%.i6,$(SRCS)))
|
|
|
|
$(INFORM7) -project "$(PROJDIR)" $(ARGS)
|
2022-07-21 10:40:04 +00:00
|
|
|
$(INFORM6) -E2w~S~DG $(PROJDIR)/Build/auto.inf $(PROJDIR)/Build/output.ulx
|
2022-07-25 21:24:46 +00:00
|
|
|
$(INBLORB) $(PROJDIR)/Release.blurb $(SRCDIR)/$@.gblorb
|
2022-08-17 02:57:35 +00:00
|
|
|
$(IF)/web.sh $@
|
2022-07-05 11:25:37 +00:00
|
|
|
|
2022-07-25 21:55:02 +00:00
|
|
|
%.inform:
|
|
|
|
echo $@
|
|
|
|
|
|
|
|
clean_inform:
|
|
|
|
echo $(SRCDIR)/$(TARGET_NAME)/Build
|
|
|
|
|
|
|
|
clean:
|
2022-07-27 03:51:51 +00:00
|
|
|
$(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 )
|
2022-07-25 21:55:02 +00:00
|
|
|
- rm *.gblorb
|