Gnu Makefile for gdc

Can someone please write to me how one could create a Makefile to compile * .d sources using gdc?

In particular, I created Android NDK, gcc, binutils with D support via GDC (I had to modify some of libphobos to better support Bionic), and I would like to use ndk-build to compile, however, I am stuck on the Makefile part. Or specifically Android.mk ... it would be nice anyway.

I tried to call the compiler directly, but none of the include / lib folders is obvious in the NDK structure.

+4
source share
1 answer

I am far from an expert in GNU Make, but I don’t see how it will be any different than creating a C or C ++ project. If you need an example of how to make it work in a non-trivial project, the GtkD makefile is likely to be useful.

+3
source

All Articles