From 2e513617208a8aa3b97107ed2bd1fbb9b5476a30 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 27 Oct 2022 01:40:12 +0200 Subject: Build the example * Add a Makefile to build the example code. * Update the example to use the new function names. * Add the library to `example/` with symlinks to simulate a submodule. --- example/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 example/Makefile (limited to 'example/Makefile') diff --git a/example/Makefile b/example/Makefile new file mode 100644 index 0000000..26e8feb --- /dev/null +++ b/example/Makefile @@ -0,0 +1,10 @@ +PRODUCT := sysalertvol + +all: $(PRODUCT) + +$(PRODUCT): main.c lib/* + $(CC) \ + -framework AudioToolbox \ + -framework CoreFoundation \ + -o $@ \ + main.c lib/SSVLSystemAlertVolume.c -- cgit v1.2.3