aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-08-28 18:23:31 +1200
committerDavid Phillips <david@sighup.nz>2018-08-28 18:48:24 +1200
commit680cfe5871a97b6d7b8b86f13dbe45cbdf5a4e9b (patch)
treeec04895e6e3884b7cd20b41cdb8bd6a57004b371 /lib/Makefile
parent37e80e62d431a3effd2c24ced3b01a4da904a5e4 (diff)
downloadalarmd-680cfe5871a97b6d7b8b86f13dbe45cbdf5a4e9b.tar.xz
Make alarms py wrap libalarm
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 43a9d87..4961c4e 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,8 +1,8 @@
CFLAGS += -I../inc/
-all: libalarm.so python
+all: python
-python:
+python: libalarm.so
make -C python
%.so: %.o
@@ -12,6 +12,7 @@ python:
$(CC) -c -o $@ $< $(LDFLAGS) $(CFLAGS)
clean:
- rm libalarm.{s,}o
+ rm -f libalarm.{s,}o
+ make -C python clean
.PHONY: python