diff --git a/examples_RPi/Makefile b/examples_RPi/Makefile index 1db53d9..2a107eb 100644 --- a/examples_RPi/Makefile +++ b/examples_RPi/Makefile @@ -40,7 +40,7 @@ all: ${PROGRAMS} ${PROGRAMS}: ${SOURCES} mkdir -p bin - $(CC) ${CCFLAGS} -Wall -I../ -lrf24-bcm -lrf24network -lrf24mesh $@.cpp -o bin/$@ + $(CC) ${CCFLAGS} -Wall -I../ $@.cpp -lrf24-bcm -lrf24network -lrf24mesh -o bin/$@ clean: rm -rf $(PROGRAMS) diff --git a/examples_RPi/ncurses/Makefile b/examples_RPi/ncurses/Makefile index 92437f8..8de7d7a 100644 --- a/examples_RPi/ncurses/Makefile +++ b/examples_RPi/ncurses/Makefile @@ -40,7 +40,7 @@ all: ${PROGRAMS} ${PROGRAMS}: ${SOURCES} mkdir -p bin - $(CC) ${CCFLAGS} -Wall -I../ -lncurses -lrf24-bcm -lrf24network -lrf24mesh $@.cpp -o bin/$@ + $(CC) ${CCFLAGS} -Wall -I../ $@.cpp -lncurses -lrf24-bcm -lrf24network -lrf24mesh -o bin/$@ clean: rm -rf $(PROGRAMS)