ButteredToast4/Makefile
2022-07-21 05:40:04 -05:00

26 lines
634 B
Makefile

INFORM := ~/if/inform7/inform
INFORM7 := $(INFORM)/inform7/Tangled/inform7
INFORM6 := $(INFORM)/inform6/Tangled/inform6
INBLORB := $(INFORM)/inblorb/Tangled/inblorb
BUILDDIR := build
DISTDIR := dist
SRCDIR := .
TARGET := ButteredToast
PROJDIR := $(SRCDIR)/$(TARGET).inform
SRCS := $(wildcard $(PROJDIR)/Source/*.ni)
I6S := $(patsubst %.ni,%.i6,$(SRCS))
all: $(TARGET)
$(INBLORB) $(PROJDIR)/Release.blurb $(SRCDIR)/$(TARGET).gblorb
$(TARGET): $(I6S)
$(INFORM6) -E2w~S~DG $(PROJDIR)/Build/auto.inf $(PROJDIR)/Build/output.ulx
%.i6: %.ni
$(INFORM7) -project "$(PROJDIR)" $(ARGS)
clean:
- rm -rf $(PROJDIR)/Build
- rm *.gblorb