Compare commits

..

1 Commits

Author SHA1 Message Date
Thomas Klaehn
123c52bd2a Workaround: In alpine libftdi is named libftdi1 2019-07-13 22:14:17 +02:00

View File

@ -37,6 +37,9 @@ THIS_MAKEFILE := $(lastword $(MAKEFILE_LIST))
all: $(TARGET) all: $(TARGET)
$(TARGET): $(OBJS) $(THIS_MAKEFILE) $(TARGET): $(OBJS) $(THIS_MAKEFILE)
echo "$(LIBS)"
echo "$(DISTRO)"
echo "$(findstring Alpine,$(DISTRO))"
@mkdir -p $(BIN_DIR) @mkdir -p $(BIN_DIR)
$(CC) $(C_FLAGS) $(LD_FLAGS) $(OBJS) $(addprefix -l,$(LIBS)) -o $@ $(CC) $(C_FLAGS) $(LD_FLAGS) $(OBJS) $(addprefix -l,$(LIBS)) -o $@