Makefile

Sat, 06 Feb 2016 14:38:40 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 06 Feb 2016 14:38:40 +0000
changeset 79
63d573be3f91
parent 75
68259c995b56
child 119
73655adb5b01
permissions
-rw-r--r--

scansion.parser: Remove unused variable (thanks luacheck)

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