]> mj.ucw.cz Git - home-hw.git/blob - tools/Makefile
Merge branch 'master' of ssh://git.ucw.cz/home/mj/GIT/home-hw
[home-hw.git] / tools / Makefile
1 PC=pkg-config
2 UCW_CFLAGS := $(shell $(PC) --cflags libucw)
3 UCW_LDFLAGS := $(shell $(PC) --libs libucw)
4
5 CFLAGS=$(UCW_CFLAGS) -O2 -std=gnu99 -Wall -Wextra -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
6 LDFLAGS=$(UCW_LDFLAGS) -lz
7
8 all: dfu-sign
9
10 dfu-sign: dfu-sign.c
11
12 clean:
13         rm -f dfu-sign *.o