Graphics.MakefileFix - lordmundi/wikidoctest GitHub Wiki

Makefile Fix

If you are making a custom plugin, and when you type make, you don't see the name of your source file scroll by at all, it was probably skipped!

In trying to make the Makefiles compatible with all OS's a bug has emerged, and right now the quick fix is this:

Edit this file:

${DOUG_HOME}/src.dist/plugins/Makefile

It will look something like this, just add your plugin source file below


% ifneq ($(HOST_TYPE),Linux)
 % SINGLE_C := dsp_drawstar.c   
%  dsp_fltloader.c   
%  dsp_platform.c   
%  dsp_stlloader.c   
%  dsp_trackcam.c   
%  hellocube.c     ←- Just add yours here!  
%  dsp_trail.c
 % endif