|    MAKENL_NG    |    MakeNL Next Generation.    |    1,725 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,307 of 1,725    |
|    Bj”rn Felten to andrew clarke    |
|    The MakeNl makefile for Amiga -- yes, it    |
|    30 Nov 14 11:38:04    |
   
    ac> At first glance I don't see any Amiga-specific code in there though.   
      
    I have this in osamiga.h:   
      
   #include    
   #include    
   #include    
      
   #define STR_DIRSEPARATOR "/"   
   #define UNREFERENCED(x) x=x;   
      
   #define MYMAXFILE 64   
   #define MYMAXDIR 1024   
   #define MYMAXPATH 1088   
   #define MYMAXEXT 12   
   #define MYMAXDRIVE 3   
      
   #define filecmp strcmp   
   #define strcasecmp stricmp   
   #define filenodir(x) (strchr(x,'/') == NULL)   
      
   /* Needed definitions */   
   #define OSFND "osamifnd.c"   
   #define OSFUL "osamiful.c"   
      
   /* Overrides over defaults */   
      
   #undef OSDSL   
   #define OSDSL "osamidsl.c"   
   #undef OSRMS   
   #define OSRMS "osamirms.c"   
      
   struct _filefind   
   {   
    char path[MYMAXDIR];   
    char mask[MYMAXFILE];   
    DIR *dirp;   
    struct dirent *pentry;   
    int flags;   
   };   
      
   /*   
    TODO   
      
    a separate osamiful.c rather than the one for linux ?   
    what is #define MYMAXxxx ?   
    does wildcards work in findnext()?   
    what does filenodir() do? might have to be changed. e.g. fido:nodelist is a   
   proper path on the amiga.   
    does this influence other parts?   
      
   */   
      
   --- Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.9.1.16) Gecko/20101125   
    * Origin: news://felten.yi.org (2:203/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca