Jump to content

Recommended Posts

  • Honorable Member

Change TARGET like this:

TARGET  = ../output/gamename

Also you can add new command like this:

Strip, delete old game and replace new game to share

install:
	strip -s ../output/gamename
	rm -rf /usr/game/share/gamename
	cp ../output/gamename /usr/game/share

 

  • Love 1

 

Link to comment
https://metin2.dev/topic/21763-gcc-output-flag/#findComment-118236
Share on other sites

TARGET  = /your/path/game

default: $(TARGET)


$(TARGET): ....
    @echo linking $(TARGET)....
    @$(linker).......  -o $(TARGET)

 

You are searching for the -o (output) argument.

No need to remove the old file, that's not windows, files are loaded in the ram without write locks

  • Love 1
Link to comment
https://metin2.dev/topic/21763-gcc-output-flag/#findComment-118238
Share on other sites

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.