summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-12-24 02:54:20 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-12-24 02:54:20 +0100
commit2c71143fd27ab876d7165df3f643bcad2664ccb0 (patch)
treebe840413f436b916d4f3527ca87061d863868f6f /Makefile
parentf5adf48a25ff79fd857d8829cc7638bc92644733 (diff)
Add wiispkr (play files on the wiimote speaker via libcwiimote)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 55a77cc..2f9f4ac 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
CFLAGS = -Wall -Wextra -pedantic -Wno-unused-parameter
LDFLAGS = -lbluetooth -lcwiid
-all: bal mpcal mplog wibble
+all: bal mpcal mplog wibble wiispkr
bal: bal.c
${CC} ${CFLAGS} ${LDFLAGS} -o $@ $<
@@ -15,6 +15,9 @@ mplog: mplog.c
wibble: wibble.c
${CC} ${CFLAGS} ${LDFLAGS} -lm -o $@ $<
+wiispkr: wiispkr.c
+ ${CC} ${CFLAGS} -lm -lbluetooth -lcwiimote -o $@ $<
+
clean:
rm -f bal mplog wibble