From ccb9881319276e94fdede79c46c4f0d4c981dc41 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Wed, 8 May 2019 22:01:55 +1200 Subject: Refactor build process, use setup.py --- alarm-tools/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'alarm-tools') diff --git a/alarm-tools/Makefile b/alarm-tools/Makefile index f181e5f..c5097f4 100644 --- a/alarm-tools/Makefile +++ b/alarm-tools/Makefile @@ -1,3 +1,5 @@ +include ../config.mk + LDFLAGS += -L../lib -lalarm CFLAGS += -I../inc @@ -6,5 +8,8 @@ all: alarms-show alarms-show: alarms-show.o $(CC) -o $@ $^ $(LDFLAGS) +install: + install -Dm755 alarms-show "$(DESTDIR)/$(PREFIX)/bin/alarms-show" + clean: rm alarms-show -- cgit v1.1