From 0e9b78ab53f319436533e600d22a15a649712ce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20B=C3=A9rub=C3=A9?= Date: Mon, 16 Sep 2024 09:22:35 -0400 Subject: [PATCH] Passing the compilation options to the objects too --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 0d0ae6e..2ca714a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -8,7 +8,7 @@ $(OBJ): $(SRC:%.c=%.o) $(CC) $^ -rdynamic $(OPT) -o $@ %.o: %.c Makefile - $(CC) -c $< -o $@ + $(CC) -c $< $(OPT) -o $@ clean: rm -rf $(SRC:%.c=%.o) $(OBJ)