From de1ce5cdac42c891332c64ecc85b1fdcf7341f3f Mon Sep 17 00:00:00 2001 From: Konarak Date: Mon, 21 Apr 2025 22:45:06 +0530 Subject: [PATCH] update python path in makefiles --- 04_Machine_Language/Makefile | 2 +- 06_IO_Devices/01_UartTX/Makefile | 3 +-- 06_IO_Devices/02_UartRX/Makefile | 3 +-- 06_IO_Devices/03_SPI/Makefile | 3 +-- 06_IO_Devices/04_SRAM/Makefile | 3 +-- 06_IO_Devices/05_GO/Makefile | 3 +-- 07_Operating_System/01_GPIO_Test/Makefile | 3 +-- 07_Operating_System/02_UART_Test/Makefile | 3 +-- 07_Operating_System/03_Sys_Test/Makefile | 3 +-- 07_Operating_System/04_Memory_Test/Makefile | 3 +-- 07_Operating_System/05_Array_Test/Makefile | 3 +-- 07_Operating_System/06_Math_Test/Makefile | 3 +-- 07_Operating_System/07_String_Test/Makefile | 3 +-- 07_Operating_System/08_StdIO_Test/Makefile | 3 +-- 07_Operating_System/09_Screen_Test/Makefile | 3 +-- 07_Operating_System/10_Output_Test/Makefile | 3 +-- 07_Operating_System/11_Touch_Test/Makefile | 3 +-- 07_Operating_System/12_Tetris/Makefile | 3 +-- 18 files changed, 18 insertions(+), 35 deletions(-) diff --git a/04_Machine_Language/Makefile b/04_Machine_Language/Makefile index f5bc713..994ed0b 100644 --- a/04_Machine_Language/Makefile +++ b/04_Machine_Language/Makefile @@ -1,4 +1,4 @@ -PYTHON = /usr/bin/python3.11 +PYTHON = ~/.pyenv/shims/python leds: $(PYTHON) ../tools/Assembler/assembler.pyc leds.asm diff --git a/06_IO_Devices/01_UartTX/Makefile b/06_IO_Devices/01_UartTX/Makefile index 8620548..21f6688 100644 --- a/06_IO_Devices/01_UartTX/Makefile +++ b/06_IO_Devices/01_UartTX/Makefile @@ -1,5 +1,4 @@ -PYTHON = /bin/python3.11 - +PYTHON = ~/.pyenv/shims/python NAME = hello all: asm install diff --git a/06_IO_Devices/02_UartRX/Makefile b/06_IO_Devices/02_UartRX/Makefile index eae21f1..9e62d56 100644 --- a/06_IO_Devices/02_UartRX/Makefile +++ b/06_IO_Devices/02_UartRX/Makefile @@ -1,5 +1,4 @@ -PYTHON = /bin/python3.11 - +PYTHON = ~/.pyenv/shims/python NAME = echo all: asm install diff --git a/06_IO_Devices/03_SPI/Makefile b/06_IO_Devices/03_SPI/Makefile index 1ba9f7e..fef6057 100644 --- a/06_IO_Devices/03_SPI/Makefile +++ b/06_IO_Devices/03_SPI/Makefile @@ -1,5 +1,4 @@ -PYTHON = /bin/python3.11 - +PYTHON = ~/.pyenv/shims/python NAME = cat all: asm install diff --git a/06_IO_Devices/04_SRAM/Makefile b/06_IO_Devices/04_SRAM/Makefile index e83502d..578490d 100644 --- a/06_IO_Devices/04_SRAM/Makefile +++ b/06_IO_Devices/04_SRAM/Makefile @@ -1,5 +1,4 @@ -PYTHON = /bin/python3.11 - +PYTHON = ~/.pyenv/shims/python NAME = buffer all: asm install diff --git a/06_IO_Devices/05_GO/Makefile b/06_IO_Devices/05_GO/Makefile index 441ca8c..9c9740a 100644 --- a/06_IO_Devices/05_GO/Makefile +++ b/06_IO_Devices/05_GO/Makefile @@ -1,5 +1,4 @@ -PYTHON = /bin/python3.11 - +PYTHON = ~/.pyenv/shims/python NAME = boot all: asm install diff --git a/07_Operating_System/01_GPIO_Test/Makefile b/07_Operating_System/01_GPIO_Test/Makefile index 3594777..2730e4d 100644 --- a/07_Operating_System/01_GPIO_Test/Makefile +++ b/07_Operating_System/01_GPIO_Test/Makefile @@ -1,5 +1,4 @@ -PYTHON = /bin/python3.11 - +PYTHON = ~/.pyenv/shims/python all: jack vm asm bin sim jack: diff --git a/07_Operating_System/02_UART_Test/Makefile b/07_Operating_System/02_UART_Test/Makefile index 50a597d..2730e4d 100644 --- a/07_Operating_System/02_UART_Test/Makefile +++ b/07_Operating_System/02_UART_Test/Makefile @@ -1,5 +1,4 @@ -PYTHON = python3.11 - +PYTHON = ~/.pyenv/shims/python all: jack vm asm bin sim jack: diff --git a/07_Operating_System/03_Sys_Test/Makefile b/07_Operating_System/03_Sys_Test/Makefile index 50a597d..2730e4d 100644 --- a/07_Operating_System/03_Sys_Test/Makefile +++ b/07_Operating_System/03_Sys_Test/Makefile @@ -1,5 +1,4 @@ -PYTHON = python3.11 - +PYTHON = ~/.pyenv/shims/python all: jack vm asm bin sim jack: diff --git a/07_Operating_System/04_Memory_Test/Makefile b/07_Operating_System/04_Memory_Test/Makefile index 50a597d..2730e4d 100644 --- a/07_Operating_System/04_Memory_Test/Makefile +++ b/07_Operating_System/04_Memory_Test/Makefile @@ -1,5 +1,4 @@ -PYTHON = python3.11 - +PYTHON = ~/.pyenv/shims/python all: jack vm asm bin sim jack: diff --git a/07_Operating_System/05_Array_Test/Makefile b/07_Operating_System/05_Array_Test/Makefile index 50a597d..2730e4d 100644 --- a/07_Operating_System/05_Array_Test/Makefile +++ b/07_Operating_System/05_Array_Test/Makefile @@ -1,5 +1,4 @@ -PYTHON = python3.11 - +PYTHON = ~/.pyenv/shims/python all: jack vm asm bin sim jack: diff --git a/07_Operating_System/06_Math_Test/Makefile b/07_Operating_System/06_Math_Test/Makefile index 50a597d..2730e4d 100644 --- a/07_Operating_System/06_Math_Test/Makefile +++ b/07_Operating_System/06_Math_Test/Makefile @@ -1,5 +1,4 @@ -PYTHON = python3.11 - +PYTHON = ~/.pyenv/shims/python all: jack vm asm bin sim jack: diff --git a/07_Operating_System/07_String_Test/Makefile b/07_Operating_System/07_String_Test/Makefile index 50a597d..2730e4d 100644 --- a/07_Operating_System/07_String_Test/Makefile +++ b/07_Operating_System/07_String_Test/Makefile @@ -1,5 +1,4 @@ -PYTHON = python3.11 - +PYTHON = ~/.pyenv/shims/python all: jack vm asm bin sim jack: diff --git a/07_Operating_System/08_StdIO_Test/Makefile b/07_Operating_System/08_StdIO_Test/Makefile index 50a597d..2730e4d 100644 --- a/07_Operating_System/08_StdIO_Test/Makefile +++ b/07_Operating_System/08_StdIO_Test/Makefile @@ -1,5 +1,4 @@ -PYTHON = python3.11 - +PYTHON = ~/.pyenv/shims/python all: jack vm asm bin sim jack: diff --git a/07_Operating_System/09_Screen_Test/Makefile b/07_Operating_System/09_Screen_Test/Makefile index 50a597d..2730e4d 100644 --- a/07_Operating_System/09_Screen_Test/Makefile +++ b/07_Operating_System/09_Screen_Test/Makefile @@ -1,5 +1,4 @@ -PYTHON = python3.11 - +PYTHON = ~/.pyenv/shims/python all: jack vm asm bin sim jack: diff --git a/07_Operating_System/10_Output_Test/Makefile b/07_Operating_System/10_Output_Test/Makefile index 50a597d..2730e4d 100644 --- a/07_Operating_System/10_Output_Test/Makefile +++ b/07_Operating_System/10_Output_Test/Makefile @@ -1,5 +1,4 @@ -PYTHON = python3.11 - +PYTHON = ~/.pyenv/shims/python all: jack vm asm bin sim jack: diff --git a/07_Operating_System/11_Touch_Test/Makefile b/07_Operating_System/11_Touch_Test/Makefile index 50a597d..2730e4d 100644 --- a/07_Operating_System/11_Touch_Test/Makefile +++ b/07_Operating_System/11_Touch_Test/Makefile @@ -1,5 +1,4 @@ -PYTHON = python3.11 - +PYTHON = ~/.pyenv/shims/python all: jack vm asm bin sim jack: diff --git a/07_Operating_System/12_Tetris/Makefile b/07_Operating_System/12_Tetris/Makefile index 50a597d..2730e4d 100644 --- a/07_Operating_System/12_Tetris/Makefile +++ b/07_Operating_System/12_Tetris/Makefile @@ -1,5 +1,4 @@ -PYTHON = python3.11 - +PYTHON = ~/.pyenv/shims/python all: jack vm asm bin sim jack: