Makefile in Borland C

Sep 10, 2016 at 8:13am
Can we create a make file for multiple files in c programming with using c compiler . If yes, can you explain it??
Sep 10, 2016 at 9:11am
Yes,
but can we create makefile using c compiler
Sep 10, 2016 at 12:12pm
I assume you mean 'Borland Turbo C++'? That's slightly better than 'Borland Turbo C'... considering the most recent version of that was released in late 1988.

Even then, Borland Turbo C++'s last release date was around 2000, which isn't much better. It's pretty dodgy, and I highly recommend you use a more modern compiler. On Windows, Visual Studio is very good, or you could get a compiler like TDM-GCC.

That aside... yes, you can make a Makefile for multiple C files for Borland. Google 'How do I make a makefile', and replace the compiler with 'bcc32.exe' (or whatever your copy is named) and the compiler flags with whatever flags you need.
Topic archived. No new replies allowed.