]> mj.ucw.cz Git - home-hw.git/blob - usb/host/Makefile
Auto: Meditation mode turned off
[home-hw.git] / usb / host / Makefile
1 UCWCF:=$(shell PKG_CONFIG_PATH=$(LIBUCW)/lib/pkgconfig pkg-config --cflags libucw)
2 UCWLF:=$(shell PKG_CONFIG_PATH=$(LIBUCW)/lib/pkgconfig pkg-config --libs libucw)
3
4 CFLAGS=-std=gnu99 -O2 -Wall -Wextra -Wno-parentheses $(UCWCF)
5 LDLIBS=-lusb-1.0 $(UCWLF)
6
7 all: test burrow-clock
8
9 test: test.c
10
11 burrow-clock: burrow-clock.c
12 burrow-clock: LDLIBS += -lmosquitto
13
14 install: all
15         install burrow-clock /usr/local/sbin/
16
17 clean:
18         rm -f burrow-clock test