rock-paper-scissors/Makefile

26 lines
638 B
Makefile
Raw Normal View History

2022-07-22 07:04:22 +00:00
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 := RockPaperScissors
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