Jump to content

Recommended Posts

Spoiler

1712535C5mKdd.gif.384dd622be5fde56098964

 

Purpose of this HowTo: Making your Makefile's output look cleaner.

Guide:

Spoiler

- Open your Makefile with a text editor like Sublime Text or Notepad++.

Search for:


$(OBJDIR)/%.o: %.cpp

Your code should look like this:

 

1712534ca7efb155b14b5ab1b3fafab83ae649.p

Change


@echo compile $<

with


@echo -e "\033[0;32m [OK] \033[0m       \033[0;33m Compiling:\033[0m" $<

It should look like this:

171253751c0cbc643b498781ec32e0204a562c.p

Now, do the same for


$(OBJDIR)/version.o: version.cpp

and


$(OBJDIR)/minilzo.o: minilzo.c

in game's Makefile.

You can do the same thing for database's Makefile.

 

  • Metin2 Dev 2
  • Love 13
Link to comment
https://metin2.dev/topic/13500-how-to-make-a-makefile-colored-text-output/
Share on other sites

  • 2 years later...
  • 2 weeks later...
  • 2 months later...

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.