Compare commits
1 Commits
b3e331fc42
...
cc851fc929
Author | SHA1 | Date | |
---|---|---|---|
|
cc851fc929 |
6
Makefile
6
Makefile
@ -11,9 +11,13 @@ BIN_DIR = bin
|
|||||||
|
|
||||||
INCLUDES := inc
|
INCLUDES := inc
|
||||||
|
|
||||||
#Alpine Linux ftdi include path
|
#Alpine Linux names libftdi libftdi1
|
||||||
|
ifneq "$(findstring Alpine,$(shell head -1 /etc/issue))" ""
|
||||||
INCLUDES += /usr/include/libftdi1
|
INCLUDES += /usr/include/libftdi1
|
||||||
|
LIBS := ftdi1
|
||||||
|
else
|
||||||
LIBS := ftdi
|
LIBS := ftdi
|
||||||
|
endif
|
||||||
|
|
||||||
LD_FLAGS :=
|
LD_FLAGS :=
|
||||||
C_FLAGS := -O0 -g
|
C_FLAGS := -O0 -g
|
||||||
|
Loading…
Reference in New Issue
Block a user