Re: [AD] alplatf.h problem |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Sven Sandberg <ssven.geo@xxxxxxxxxx> wrote:
> (2) add a sed script in make depend that removes
> alplatf.h from dependencies.
i can think of two simple solutions:
-use #include <alplatf.h> instead of #include "alplatf.h" so that
gcc -MM -MG will treat alplatf.h as a system include and thus ignore it when
doing a make depend.
-put #ifndef SCAN_DEPEND / #endif around #include "alplatf.h", and then in
all makefiles explicitly declare the platform: gcc -DALLEGRO_<PLATFORM> for
just the depend target.
i think the second is the most clean approach, and if i hear nothing i'll
update the CVS later today.
-henrik