Skip to content

Commit

Permalink
Linker flags fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
markondej committed Jul 3, 2022
1 parent 0c1966a commit 123bd40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ifeq ($(GPIO21), 1)
endif

all: fm_transmitter.o mailbox.o wave_reader.o transmitter.o
g++ -L/opt/vc/lib -o $(EXECUTABLE) fm_transmitter.o mailbox.o wave_reader.o transmitter.o -lm -lpthread -lbcm_host
g++ -o $(EXECUTABLE) fm_transmitter.o mailbox.o wave_reader.o transmitter.o -L/opt/vc/lib -lm -lpthread -lbcm_host

mailbox.o: mailbox.c mailbox.h
g++ $(FLAGS) -c mailbox.c
Expand Down

0 comments on commit 123bd40

Please sign in to comment.