From e1eb4a966064081d448e36df7c87b40c9b33b6ac Mon Sep 17 00:00:00 2001 From: TMRh20 Date: Sun, 7 Nov 2021 14:43:57 -0600 Subject: [PATCH] Fix compile for examples --- examples_RPi/Makefile | 2 +- examples_RPi/ncurses/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)