Re: [AD] build process overhaul

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]



Victor wrote:

--- Jon Rafkind <workmin@xxxxxxxxxx> wrote:

   #if defined ALLEGRO_DJGPP
-      #include "obj/djgpp/plugins.h"
+      #include "plugins.h"
   #elif defined ALLEGRO_MSVC
-      #include "obj/msvc/plugins.h"
+      #include "plugins.h"
   #elif defined ALLEGRO_WATCOM
-      #include "obj/watcom/plugins.h"
+      #include "plugins.h"
   #elif defined ALLEGRO_UNIX
-      #include "obj/unix/plugins.h"
+      #include "plugins.h"
   #elif defined ALLEGRO_MINGW32
-      #include "obj/mingw32/plugins.h"
+      #include "plugins.h"
   #elif defined ALLEGRO_BEOS
-      #include "obj/beos/plugins.h"
+      #include "plugins.h"
   #elif defined ALLEGRO_BCC32
-      #include "obj/bcc32/plugins.h"
+      #include "plugins.h"
   #elif defined ALLEGRO_MPW
-      #include "::obj:mpw:plugins.h"
+      #include "plugins.h"
   #elif defined ALLEGRO_MACOSX
-      #include "obj/macosx/plugins.h"
+      #include "plugins.h"
   #elif defined ALLEGRO_QNX
-      #include "obj/qnx/plugins.h"
+      #include "plugins.h"

Isn't better just use #include "plugins.h"? At a fast first glance,
looks like that we would always get that no matter what platform we
are.

Oh right, I just used a regex to replace all instances of obj/whatever/plugins.h with plugins.h.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/