aboutsummaryrefslogtreecommitdiff
path: root/host/Makefile
blob: 8abc88a4af0942a99bdaf435facd4db6e154acbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 libml.so