Updated Makefile to properly align and make linking pop out
This commit is contained in:
parent
d2a59f770e
commit
776ccfa9c0
7 changed files with 20 additions and 17 deletions
|
|
@ -46,12 +46,12 @@ $(NAME): $(TARGET)
|
|||
|
||||
$(TARGET): $(OBJ)
|
||||
@#echo "ar rcs $(BUILD_DIR)/$(NAME) <OBJS...>"
|
||||
@echo -e '$(GREY) Linking\t$(END)$(GREEN)$(NAME)$(END)'
|
||||
@echo -e '$(GREY) Linking \t$(END)$(GOLD)$(NAME)$(END)'
|
||||
@ar rcs $(BUILD_DIR)/$(NAME) $(OBJ)
|
||||
|
||||
$(BUILD_DIR)/$(ANAME)/%.o: $(SRC_DIR)/%.c
|
||||
@mkdir -p $(dir $@)
|
||||
@echo -e '$(GREY) Compiling\t$(END)$(GREEN)$<$(END)'
|
||||
@echo -e '$(GREY) Building\t$(END)$(GREEN)$<$(END)'
|
||||
@$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
clean:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue