aboutsummaryrefslogtreecommitdiff
path: root/host/Makefile
diff options
context:
space:
mode:
authorjaseg <jaseg@jaseg.net>2014-03-04 01:07:22 +0100
committerjaseg <jaseg@jaseg.net>2014-03-04 01:07:22 +0100
commit7878aa1d455ab24d0336fc68eb09f726bcba10b2 (patch)
treeeb00df8a0d5bfdb261a188e23022b060a5a35c70 /host/Makefile
parentbd5b1b6267ff6db530c657b5adb61edeea18e14b (diff)
downloadmatelight-7878aa1d455ab24d0336fc68eb09f726bcba10b2.tar.gz
matelight-7878aa1d455ab24d0336fc68eb09f726bcba10b2.tar.bz2
matelight-7878aa1d455ab24d0336fc68eb09f726bcba10b2.zip
Now faster. And with more Jenny Holzer.
Diffstat (limited to 'host/Makefile')
-rw-r--r--host/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/host/Makefile b/host/Makefile
index a6b892f..8abc88a 100644
--- a/host/Makefile
+++ b/host/Makefile
@@ -1,6 +1,12 @@
-all: main.c font.c font.h color.c color.h
- gcc -shared -fPIC -std=gnu11 -Wall -lm -o libbdf.so -g -O0 main.c font.c color.c
+all: libml libbdf
+
+
+libml: usb.c color.c color.h
+ gcc -shared -fPIC -std=gnu11 -Wall -lm -lusb-1.0 -o libml.so -g usb.c color.c
+
+libbdf: main.c font.c font.h color.c color.h
+ gcc -shared -fPIC -std=gnu11 -Wall -lm -o libbdf.so -g main.c font.c color.c
clean:
- rm libbdf.so
+ rm libbdf.so libml.so