Fix Makefile error

this would prevent make from recompiling when the source has changed
This commit is contained in:
Angel Garcia 2019-05-23 04:13:57 +02:00
parent 0bbf7ad5e4
commit 4a82ee605f
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ all: ${PROGRAMS} tests
#${PROGRAMS}: ${SOURCES}
# $(CXX) $(CFLAGS) -I$(RF_HEADER_DIR) -L$(RF_LIB_DIR) -l$(RF_LIB) $@.cpp -o $@
hover-controller: $@ ${PARTS_O}
hover-controller: hover-controller.cpp ${PARTS_O}
$(CXX) $(CFLAGS) -I$(RF_HEADER_DIR) -L$(RF_LIB_DIR) -l$(RF_LIB) -l$(GPIO_LIB) -lrt $@.cpp \
${SEN_PARTS} ${PARTS_O} -o $@