26 lines
522 B
Makefile
26 lines
522 B
Makefile
INFORM := ../inform7/inform
|
|
INFORM7 := $(INFORM)/inform7/Tangled/inform7
|
|
INFORM6 := $(INFORM)/inform6/Tangled/inform6
|
|
INBLORB := $(INFORM)/inblorb/Tangled/inblorb
|
|
BUILDDIR := build
|
|
DISTDIR := dist
|
|
SRCDIR := src
|
|
TARGET := ButteredToast1
|
|
|
|
SRCS := $(wildcard $(SRCDIR)/*.inf)
|
|
I6S := $(patsubst %.inf,%.i6,$(SRCS))
|
|
|
|
all: $(TARGET)
|
|
$(INBLORB) ButteredToast.blub ButteredToast.zblorb
|
|
|
|
$(TARGET): $(I6S)
|
|
$(INFORM6) -E2w~S~Dv8 $<
|
|
|
|
%.i6: %.inf
|
|
$(INFORM7) -format=Inform6/16d $<
|
|
|
|
clean:
|
|
rm $(SRCDIR)/*.i6
|
|
rm *.zblorb
|
|
rm *.z8
|