Jump to content
  • 0
Sign in to follow this  
MikZ

Plugin Makefile

Question

Hi!

Good day!

Updated my Git file and i notice changes in plugin makefile.

MYPLUGINS := $(MYPLUGINS)

Am i doing this correctly?

MYPLUGINS := $(plugin1 plugin2 plugin3)

or

MYPLUGINS := $(plugin1) $(plugin2)  $(plugin3) ?? 

after compiling my plugin disappears. /sob

Please help me.

thanks!

Edited by MikZ

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

wrong

Exists atleast 3 ways how build plugins.

1.

after building server run

make plugin.myplugin1

where myplugin1 is your plugin name

or you can add your plugin name into variable in make file

 

2.

add your plugins into make file. change

MYPLUGINS := $(MYPLUGINS)

to

MYPLUGINS := $(MYPLUGINS) myplugin1

where myplugin1 is your plugin name

 

3.

use environment variables. run command

MYPLUGINS=myplugin1 make plugins

where myplugin1 is your plugin name

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.