Skip to content

Commit

Permalink
Fix examples compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
TMRh20 committed Nov 7, 2021
1 parent b3ddc43 commit 1cefcdb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ SOURCES = ${PROGRAMS:=.cpp}
all: ${PROGRAMS}

${PROGRAMS}: ${SOURCES}
g++ ${CCFLAGS} -Wall -I../ -lrf24-bcm -lrf24network -lrf24mesh -lrf24gateway $@.cpp -o $@
g++ ${CCFLAGS} -Wall -I../ $@.cpp -lrf24-bcm -lrf24network -lrf24mesh -lrf24gateway -o $@

clean:
rm -rf $(PROGRAMS)
Expand Down
2 changes: 1 addition & 1 deletion examples/gwNodeInt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ SOURCES = ${PROGRAMS:=.cpp}
all: ${PROGRAMS}

${PROGRAMS}: ${SOURCES}
g++ ${CCFLAGS} -Wall -I../ -lrf24-bcm -lrf24network -lrf24mesh -lrf24gateway $@.cpp -o $@
g++ ${CCFLAGS} -Wall -I../ $@.cpp -lrf24-bcm -lrf24network -lrf24mesh -lrf24gateway -o $@

clean:
rm -rf $(PROGRAMS)
Expand Down
2 changes: 1 addition & 1 deletion examples/ncurses/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ SOURCES = ${PROGRAMS2:=.cpp}
all: ${PROGRAMS}

${PROGRAMS}: ${SOURCES}
g++ ${CCFLAGS} -Wall -I../ -lncurses -lrf24-bcm -lrf24network -lrf24mesh -lrf24gateway $@.cpp -o $@
g++ ${CCFLAGS} -Wall -I../ $@.cpp -lncurses -lrf24-bcm -lrf24network -lrf24mesh -lrf24gateway -o $@

clean:
rm -rf $(PROGRAMS)
Expand Down
2 changes: 1 addition & 1 deletion examples/ncursesInt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ SOURCES = ${PROGRAMS2:=.cpp}
all: ${PROGRAMS}

${PROGRAMS}: ${SOURCES}
g++ ${CCFLAGS} -Wall -I../ -lncurses -lrf24-bcm -lrf24network -lrf24mesh -lrf24gateway $@.cpp -o $@
g++ ${CCFLAGS} -Wall -I../ $@.cpp -lncurses -lrf24-bcm -lrf24network -lrf24mesh -lrf24gateway -o $@

clean:
rm -rf $(PROGRAMS)
Expand Down

0 comments on commit 1cefcdb

Please sign in to comment.