diff options
author | jaseg <jaseg@jaseg.net> | 2014-03-04 22:49:48 +0100 |
---|---|---|
committer | jaseg <jaseg@jaseg.net> | 2014-03-04 22:49:48 +0100 |
commit | 8f86c5ac4576b36aff906b91e194e68eb343c536 (patch) | |
tree | 228749e6d71fd247a61c16c5bbad0c2c86a2ef0d /host/Makefile | |
parent | c4dd54e16fcc31c43c2ccccbb34eea07b9de735c (diff) | |
parent | 7878aa1d455ab24d0336fc68eb09f726bcba10b2 (diff) | |
download | matelight-8f86c5ac4576b36aff906b91e194e68eb343c536.tar.gz matelight-8f86c5ac4576b36aff906b91e194e68eb343c536.tar.bz2 matelight-8f86c5ac4576b36aff906b91e194e68eb343c536.zip |
Merge branch 'master' of matelight:matelight
Diffstat (limited to 'host/Makefile')
-rw-r--r-- | host/Makefile | 12 |
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 |