aboutsummaryrefslogtreecommitdiffstats
path: root/example/Makefile
diff options
context:
space:
mode:
authorTeddy Wing2022-10-27 01:40:12 +0200
committerTeddy Wing2022-10-27 01:41:28 +0200
commit2e513617208a8aa3b97107ed2bd1fbb9b5476a30 (patch)
tree7885810787e4b63f4582d9a41058661905514416 /example/Makefile
parent44265f9a98916c1fbd523ceb008e3b77fd4aaffb (diff)
downloadSSVLSystemAlertVolume-2e513617208a8aa3b97107ed2bd1fbb9b5476a30.tar.bz2
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.
Diffstat (limited to 'example/Makefile')
-rw-r--r--example/Makefile10
1 files changed, 10 insertions, 0 deletions
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