From 680cfe5871a97b6d7b8b86f13dbe45cbdf5a4e9b Mon Sep 17 00:00:00 2001 From: David Phillips Date: Tue, 28 Aug 2018 18:23:31 +1200 Subject: Make alarms py wrap libalarm --- lib/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/Makefile') 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 -- cgit v1.1