added info in makefile

This commit is contained in:
asus
2024-01-25 16:44:09 +01:00
parent 1302de3e9a
commit 82e9fec6d3

View File

@@ -85,6 +85,8 @@ all: $(NAME)
# - and directory "$(D_OBJS)" is order-only prerequisite :
# - it must exist before executing rule
# - but last time modification is not checked
# - it avoids recompiling each time because the build folder was
# modified by creation of other objects files
$(D_OBJS)/%.o: %.$(EXT) | $(D_OBJS)
@echo $(CYAN)"compilation (objects.o) :"$(RESET)
$(CC) $(CFLAGS) -c $< -o $@