Skip to content

Commit

Permalink
Fix compile for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
TMRh20 committed Nov 7, 2021
1 parent d201532 commit e1eb4a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples_RPi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion examples_RPi/ncurses/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e1eb4a9

Please sign in to comment.