From 611ed74150b4f83d7ab96ce1825cc543ee9c90c4 Mon Sep 17 00:00:00 2001 From: Stephan Rehfeld Date: Mon, 3 Nov 2025 17:15:21 +0100 Subject: [PATCH] Made compiler adjustable in Makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 2f3da97..948fae2 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ example: main.o foo.o - cc main.o foo.o -o example + $(CC) main.o foo.o -o example main.o: main.c - cc -c main.c -o main.o + $(CC) -c main.c -o main.o foo.o: foo.c - cc -c foo.c -o foo.o + $(CC) -c foo.c -o foo.o .PHONY: clean