shithub: cstory

Download patch

ref: 5cb06c9b767b1af7a3c33fba6cfbd32339abe2a3
parent: 5985fceaeed7afbb60a5ccfae162bf2814029a35
author: Clownacy <Clownacy@users.noreply.github.com>
date: Thu Dec 5 10:53:49 EST 2019

Use $(info instead of echo

--- a/Makefile
+++ b/Makefile
@@ -191,7 +191,7 @@
 OBJECTS += obj/$(FILENAME)/windows_resources.o
 
 all: $(BUILD_DIRECTORY)/$(FILENAME) $(BUILD_DIRECTORY)/data
-	@echo Finished
+	$(info Finished)
 
 $(BUILD_DIRECTORY)/data: $(DATA_DIRECTORY)
 	@mkdir -p $(@D)
@@ -200,12 +200,12 @@
 
 $(BUILD_DIRECTORY)/$(FILENAME): $(OBJECTS)
 	@mkdir -p $(@D)
-	@echo Linking $@
+	$(info Linking $@)
 	@$(CXX) $(ALL_CXXFLAGS) $(ALL_LDFLAGS) $^ -o $@ $(ALL_LIBS)
 
 obj/$(FILENAME)/%.o: %.cpp
 	@mkdir -p $(@D)
-	@echo Compiling $<
+	$(info Compiling $<)
 	@$(CXX) $(ALL_CXXFLAGS) $< -o $@ -c
 
 include $(wildcard $(DEPENDENCIES))
@@ -212,7 +212,7 @@
 
 obj/$(FILENAME)/windows_resources.o: $(ASSETS_DIRECTORY)/resources/CSE2.rc $(ASSETS_DIRECTORY)/resources/resource1.h $(ASSETS_DIRECTORY)/resources/afxres.h $(addprefix $(ASSETS_DIRECTORY)/resources/, $(RESOURCES))
 	@mkdir -p $(@D)
-	@echo Compiling Windows resource file $<
+	$(info Compiling Windows resource file $<)
 	@$(WINDRES) $< $@
 
 # TODO