28 lines
592 B
Makefile
28 lines
592 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 := src
|
|
TARGET := ButteredToast1
|
|
|
|
SRCS := $(wildcard $(SRCDIR)/*.inf)
|
|
I6S := $(patsubst %.inf,%.i6,$(SRCS))
|
|
|
|
all: $(TARGET)
|
|
$(INBLORB) ButteredToast.blurb ButteredToast.zblorb
|
|
|
|
$(TARGET): $(I6S)
|
|
$(INFORM6) -E2w~S~Dv8 $<
|
|
|
|
%.i6: %.inf
|
|
$(INFORM7) -format=Inform6/16d $<
|
|
|
|
clean:
|
|
rm $(SRCDIR)/*.i6
|
|
rm *.zblorb
|
|
rm *.z8
|
|
|
|
deploy:
|
|
scp -r *.zblorb root@caranmegil.com:/var/www/nerderium/if
|