ButteredToast2/Makefile

26 lines
634 B
Makefile
Raw Normal View History

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 := .
TARGET := ButteredToast
PROJDIR := $(SRCDIR)/$(TARGET).inform
2022-07-05 11:25:37 +00:00
2022-07-21 10:40:04 +00:00
SRCS := $(wildcard $(PROJDIR)/Source/*.ni)
I6S := $(patsubst %.ni,%.i6,$(SRCS))
2022-07-05 11:25:37 +00:00
all: $(TARGET)
2022-07-21 10:40:04 +00:00
$(INBLORB) $(PROJDIR)/Release.blurb $(SRCDIR)/$(TARGET).gblorb
2022-07-05 11:25:37 +00:00
$(TARGET): $(I6S)
2022-07-21 10:40:04 +00:00
$(INFORM6) -E2w~S~DG $(PROJDIR)/Build/auto.inf $(PROJDIR)/Build/output.ulx
2022-07-05 11:25:37 +00:00
2022-07-21 10:40:04 +00:00
%.i6: %.ni
$(INFORM7) -project "$(PROJDIR)" $(ARGS)
2022-07-05 11:25:37 +00:00
clean:
2022-07-21 10:40:04 +00:00
- rm -rf $(PROJDIR)/Build
2022-07-20 07:44:23 +00:00
- rm *.gblorb