Empty TurboC project with MAKEFILE to start real projects on.
- Locate Your TurboC installation - ex.
C:\dosroot\turboc. - Copy contents of this boiler plate to somewhere like
C:\dosroot\projects\myfirst. - Make copy of
MAKEFILE.LOC.templatenamedMAKEFILE.LOC. - Edit
MAKEFILE.LOCto set Your local paths used inMAKEFILE. - Edit
MAKEFILEto match Your needs - compiler options, memory models etc. - You may edit the
compile.bat, which makes compiling and running Your project in DOSbox lot easier.
- Create Your new
*.cfile somewhere in thesrcdirectory (or wherever else You wish). - Make sure that the filename is unique among all other used source files.
- Add the file to
OBJSinMAKEFILE. - If You introduced a new source directory, add new rule to
MAKEFILE:
{src\test}.c.obj:
$(CC) $(CFLAGS) -c $<Files to be versioned are:
MAKEFILEMAKEFILE.LOC.templateto show other developers what should theirMAKEFILE.LOClook like.- Your source files.
Files not to be versioned:
MAKEFILE.LOCas it may differ from developer to developer to match their local environment.compile.batas it is specific to every developer's DOSbox installation.