added info in makefile
This commit is contained in:
@@ -85,6 +85,8 @@ all: $(NAME)
|
|||||||
# - and directory "$(D_OBJS)" is order-only prerequisite :
|
# - and directory "$(D_OBJS)" is order-only prerequisite :
|
||||||
# - it must exist before executing rule
|
# - it must exist before executing rule
|
||||||
# - but last time modification is not checked
|
# - 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)
|
$(D_OBJS)/%.o: %.$(EXT) | $(D_OBJS)
|
||||||
@echo $(CYAN)"compilation (objects.o) :"$(RESET)
|
@echo $(CYAN)"compilation (objects.o) :"$(RESET)
|
||||||
$(CC) $(CFLAGS) -c $< -o $@
|
$(CC) $(CFLAGS) -c $< -o $@
|
||||||
|
|||||||
Reference in New Issue
Block a user