From 842f1e2b47f0e09091bd3b4b7411bc2a3b833146 Mon Sep 17 00:00:00 2001 From: brahms <brahms@soeyler.com> Date: Thu, 21 Apr 2022 16:52:34 +0200 Subject: [PATCH] comments for Makefile, made object files optional --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f8c5a67..a7bb27e 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,14 @@ CC = gcc CFLAGS = -std=c11 -Wall -Wextra -pedantic -O2 -g -pthread #CPPFLAGS = -MMD -MF $*.d #activate only if you want extra output as .d files +# TODO: edit BIN with your target binary (e.g. exercise01) BIN = example OBJS = $(BIN).o all: $(BIN) -example: $(OBJS) - -%.o:%.d +# uncomment this if you want object files +#$(BIN): $(OBJS) run: $(BIN) ./$(BIN) -- GitLab