dtinfo subdirectory mmdb
This commit is contained in:
committed by
Jon Trulson
parent
eb698f32cf
commit
92424bd169
@@ -9,9 +9,9 @@ SUBDIRS=misc
|
||||
XCOMM redefine TopLevelProject to build DtInfo with standard CDE config dir
|
||||
#undef TopLevelProject
|
||||
#define TopLevelProject DtInfo
|
||||
IMAKE_DEFINES = -DTopLevelProject=TopLevelProject \
|
||||
-DProjectTmplFile='<DtInfo.tmpl>' \
|
||||
-DProjectRulesFile='<DtInfo.rules>'
|
||||
IMAKE_DEF_DTINFO = -DTopLevelProject=TopLevelProject \
|
||||
-DProjectTmplFile='<DtInfo.tmpl>' \
|
||||
-DProjectRulesFile='<DtInfo.rules>'
|
||||
|
||||
MakeSubdirs($(SUBDIRS))
|
||||
DependSubdirs($(SUBDIRS))
|
||||
|
||||
@@ -40,7 +40,7 @@ char **argv;
|
||||
{
|
||||
case 'h':
|
||||
{
|
||||
sprintf(buffer, "%s.h", libname);
|
||||
snprintf(buffer, sizeof(buffer), "%s.h", libname);
|
||||
|
||||
hfile = fopen(buffer, "w");
|
||||
if (!hfile)
|
||||
@@ -55,7 +55,7 @@ char **argv;
|
||||
break;
|
||||
case 'd':
|
||||
{
|
||||
sprintf(buffer, "%s.d", libname);
|
||||
snprintf(buffer, sizeof(buffer), "%s.d", libname);
|
||||
|
||||
dfile = fopen(buffer, "w");
|
||||
if (!dfile)
|
||||
|
||||
Reference in New Issue
Block a user