Subj : The MakeNl makefile for Amiga -- yes, it still exists! To : Björn Felten From : andrew clarke Date : Fri Jul 27 2018 01:25:02 30 Nov 14 11:38, you wrote to me: ac>> At first glance I don't see any Amiga-specific code in there ac>> though. BF> I have this in osamiga.h: Ah I remember now. The osxxx.h/osxxx.c stuff became unmaintainable and was all merged into two files - os.h & os.c - but the Amiga code got left out because I had no way to build/test it. Earlier this evening I had a bit of a play with the UAE Amiga emulator and had a crash course in how to use AmigaShell. I've only used a real Amiga a couple of times 20+ years ago. I managed to get Aztec C running in the emulator but couldn't find anywhere to download SASC let alone install it. Anyway, this section needs to be put into os.h: BF> #include BF> #include BF> #include BF> #define STR_DIRSEPARATOR "/" BF> #define UNREFERENCED(x) x=x; BF> #define MYMAXFILE 64 BF> #define MYMAXDIR 1024 BF> #define MYMAXPATH 1088 BF> #define MYMAXEXT 12 BF> #define MYMAXDRIVE 3 BF> #define filecmp strcmp BF> #define strcasecmp stricmp BF> #define filenodir(x) (strchr(x,'/') == NULL) And the contents of the osami*.c files appended to os.c: BF> /* Needed definitions */ BF> #define OSFND "osamifnd.c" BF> #define OSFUL "osamiful.c" BF> /* Overrides over defaults */ BF> #undef OSDSL BF> #define OSDSL "osamidsl.c" BF> #undef OSRMS BF> #define OSRMS "osamirms.c" .... with the correct #ifdef compiler/platform guards. I don't know what SASC uses as a compiler #define. __SASC__ maybe? You'll also need to #define CC_NAME and OS_NAME in the right places. --- GoldED+/BSD 1.1.5-b20130910 * Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267) .