Makefile

Fri, 28 Dec 2018 04:41:09 -0500

author
Waqas Hussain <waqas20@gmail.com>
date
Fri, 28 Dec 2018 04:41:09 -0500
changeset 160
28aa762f11c7
parent 142
13892b175f06
child 165
92e1733243d5
permissions
-rw-r--r--

Include line_start and line_end in action objects and action log events for /run end-point

include config.unix

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

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

SQUISH_PARAMS=--with-verse --with-server

OUTPUT=build/scansion

BIN_DIR=$(PREFIX)/bin

all: $(OUTPUT)

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

build:
	mkdir build

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

clean:
	rm $(OUTPUT)

test:
	busted

.PHONY: all clean install

mercurial