forked from EFeru/hoverboard-firmware-hack-FOC
travis
This commit is contained in:
5
Makefile
5
Makefile
@@ -111,6 +111,9 @@ ifeq ($(DEBUG), 1)
|
||||
CFLAGS += -g -gdwarf-2
|
||||
endif
|
||||
|
||||
# Generate dependency information
|
||||
CFLAGS += -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)"
|
||||
|
||||
# Choose variant from env var
|
||||
# make -e VARIANT=VARIANT_ADC
|
||||
|
||||
@@ -118,8 +121,6 @@ ifneq ($(VARIANT), )
|
||||
CFLAGS += -D $(VARIANT)
|
||||
endif
|
||||
|
||||
# Generate dependency information
|
||||
CFLAGS += -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)"
|
||||
|
||||
#######################################
|
||||
# LDFLAGS
|
||||
|
Reference in New Issue
Block a user