diff options
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..85536f5 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: bdf.c font.c font.h color.c color.h + gcc -shared -fPIC -std=gnu11 -Wall -lm -o libbdf.so -g bdf.c font.c color.c clean: - rm libbdf.so + rm libbdf.so libml.so |