Importing local modules in C style

Binarydepth via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 10 06:08:22 PDT 2015


On Thursday, 25 June 2015 at 14:10:00 UTC, Steven Schveighoffer 
wrote:
> On 6/25/15 9:57 AM, Binarydepth wrote:
>> I want to import a module from my local project  in C style 
>> (#include
>> "local.h").
>
> No.
>
>>
>> I know I can do "dmd main.d local.d" but I wonder if it can be 
>> done C
>> style.
>
> What is your goal? Why doesn't D import work for you?
>
> -Steve

No goal just wondering, Thanks!

In the future when GDC and MAKE can work together I want to just 
do "make code" and have the non-standard, custom libraries be 
supplied to the compiler by MAKE.

For a project I would just write the Makefile for this


More information about the Digitalmars-d-learn mailing list