aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2019-05-08 22:01:55 +1200
committerDavid Phillips <david@sighup.nz>2019-05-08 22:43:07 +1200
commitccb9881319276e94fdede79c46c4f0d4c981dc41 (patch)
treef59898dd1881328b9fbf06160a194627462e56a7 /Makefile
parentb01e76ae9cc32ee92e4203fe6d1c0e2f9edfe766 (diff)
downloadalarmd-ccb9881319276e94fdede79c46c4f0d4c981dc41.tar.xz
Refactor build process, use setup.pyHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b18d07e..58db3ae 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+include config.mk
+
export CFLAGS += -Wall
all:
@@ -5,6 +7,11 @@ all:
make -C alarmd
make -C alarm-tools
+install:
+ make -C lib install
+ make -C alarmd install
+ make -C alarm-tools install
+
clean:
make -C lib clean
make -C alarmd clean