2022-07-05 23:36:53 +00:00
|
|
|
INFORM := ~/if/inform7/inform
|
2022-07-05 11:25:37 +00:00
|
|
|
INFORM7 := $(INFORM)/inform7/Tangled/inform7
|
|
|
|
INFORM6 := $(INFORM)/inform6/Tangled/inform6
|
|
|
|
INBLORB := $(INFORM)/inblorb/Tangled/inblorb
|
|
|
|
BUILDDIR := build
|
|
|
|
DISTDIR := dist
|
2022-07-21 10:40:04 +00:00
|
|
|
SRCDIR := .
|
2022-07-25 21:24:46 +00:00
|
|
|
TARGETS := ButteredToast ButteredToast2
|
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:24:46 +00:00
|
|
|
ButteredToast:
|
|
|
|
$(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-07-05 11:25:37 +00:00
|
|
|
|
2022-07-25 21:24:46 +00:00
|
|
|
ButteredToast2:
|
|
|
|
$(eval PROJDIR := $(SRCDIR)/$@.inform)
|
|
|
|
$(eval SRCS := $(wildcard $(PROJDIR)/Source/*.ni))
|
|
|
|
$(eval I6S := $(patsubst %.ni,%.i6,$(SRCS)))
|
2022-07-21 10:40:04 +00:00
|
|
|
$(INFORM7) -project "$(PROJDIR)" $(ARGS)
|
2022-07-25 21:24:46 +00:00
|
|
|
$(INFORM6) -E2w~S~DG $(PROJDIR)/Build/auto.inf $(PROJDIR)/Build/output.ulx
|
|
|
|
$(INBLORB) $(PROJDIR)/Release.blurb $(SRCDIR)/$@.gblorb
|