Makefile

Sun, 07 May 2017 07:51:07 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 07 May 2017 07:51:07 +0100
changeset 88
98b4cf14960b
parent 75
68259c995b56
child 119
73655adb5b01
permissions
-rw-r--r--

verse.lua: Update to 5.2-compatible version

include config.unix

ifndef SQUISH
  $(error Please run ./configure first)
endif

SOURCE_FILES=$(shell $(SQUISH) --list-files)
MISSING_FILES=$(shell $(SQUISH) --list-missing-files)

OUTPUT=build/scansion

BIN_DIR=$(PREFIX)/bin

all: $(OUTPUT)

$(OUTPUT): build squishy $(SOURCE_FILES)
	$(SQUISH) --output=$(OUTPUT)

build:
	mkdir build

install: $(OUTPUT)
	install -t $(BIN_DIR) -m 655 $^

clean:
	rm $(OUTPUT)

.PHONY: all clean install

mercurial