From bfbcee15f7cc540add0058bf4cf9d41be21874e9 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 26 Jan 2025 12:52:57 -0500 Subject: [PATCH] Update Makefile added -I for main.c --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2ce2fd10..a24be87d 100644 --- a/Makefile +++ b/Makefile @@ -181,7 +181,7 @@ main.o: afsk/status.h main.o: afsk/ax5043.h main.o: afsk/ax25.h main.o: ax5043/spi/ax5043spi.h - gcc -std=gnu99 $(DEBUG_BEHAVIOR) -I ../ax5043 -c main.c; + gcc -std=gnu99 $(DEBUG_BEHAVIOR) -I /usr/local/include/funcubelib -I ../ax5043 -c main.c; telem.o: telem.c gcc -std=gnu99 $(DEBUG_BEHAVIOR) -I ../ax5043 -c telem.c; @@ -248,4 +248,4 @@ afsktx/main.o: afsktx/status.h afsktx/main.o: afsktx/ax5043.h afsktx/main.o: afsktx/ax25.h afsktx/main.o: ax5043/spi/ax5043spi.h - cd afsktx; gcc -std=gnu99 $(DEBUG_BEHAVIOR) -I ../ax5043 -c main.c; cd .. + cd afsktx; gcc -std=gnu99 $(DEBUG_BEHAVIOR) -I /usr/local/include/funcubelib -I ../ax5043 -c main.c; cd ..