You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
301 B
14 lines
301 B
4 months ago
|
PC=pkg-config
|
||
|
UCW_CFLAGS := $(shell $(PC) --cflags libucw)
|
||
|
UCW_LDLIBS := $(shell $(PC) --libs libucw)
|
||
|
|
||
|
CFLAGS=$(UCW_CFLAGS) -O2 -std=gnu99 -Wall -Wextra -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
|
||
|
LDLIBS=$(UCW_LDLIBS) -lz
|
||
|
|
||
|
all: dfu-sign
|
||
|
|
||
|
dfu-sign: dfu-sign.c
|
||
|
|
||
|
clean:
|
||
|
rm -f dfu-sign *.o
|