From 0f55b4a0ca4db6e7a8e78ef75a9d947a6640ccf3 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 26 Jan 2025 12:45:58 -0500 Subject: [PATCH] Update Makefile change to g++ add I L and -l --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index df985582..3c2919dd 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,8 @@ cubesatsim: afsk/ax5043.o cubesatsim: TelemEncoding.o cubesatsim: main.o cubesatsim: codecAO40.o - gcc -std=gnu99 $(DEBUG_BEHAVIOR) -o cubesatsim -Wall -Wextra -L./ -L/usr/local/lib/ -I/usr/local/include/ afsk/ax25.o afsk/ax5043.o TelemEncoding.o codecAO40.o main.o -lwiringPi -lax5043 -lm -lfuncube -lpthread -lrt -fPIC + g++ -std=c++14 -O3 -DLINUX -D_LINUX $(DEBUG_BEHAVIOR) -o cubesatsim -Wall -Wextra -L./ -L/usr/lib/ -I/usr/local/includ +e/funcubelib -I/usr/local/include/ -I/usr/include/libusb-1.0 afsk/ax25.o afsk/ax5043.o TelemEncoding.o codecAO40.o main.o -lwiringPi -lax5043 -lm -lfuncube -lpthread -lrt -fPIC -lfuncube -lpthread -lrt -fPIC -lasound -ljack -lportaudio -lfftw3 -lfftw3f -lusb-1.0 telem: telem.o gcc -std=gnu99 $(DEBUG_BEHAVIOR) -o telem -Wall -Wextra -L./ telem.o -lwiringPi