mirror of
https://github.com/cc65/cc65.git
synced 2024-12-24 11:31:31 +00:00
Don't use hardcoded paths on Amiga
Hardcoded paths don't make sense on AmigaOS, AROS and MorphOS.
This commit is contained in:
parent
19349acdcf
commit
2a7533268c
@ -75,7 +75,7 @@ void FinishIncludePaths (void)
|
||||
AddSubSearchPathFromEnv (IncSearchPath, "CC65_HOME", "asminc");
|
||||
|
||||
/* Add some compiled-in search paths if defined at compile time. */
|
||||
#if defined(CA65_INC) && !defined(_WIN32)
|
||||
#if defined(CA65_INC) && !defined(_WIN32) && !defined(_AMIGA)
|
||||
AddSearchPath (IncSearchPath, CA65_INC);
|
||||
#endif
|
||||
|
||||
|
@ -76,7 +76,7 @@ void FinishIncludePaths (void)
|
||||
AddSubSearchPathFromEnv (SysIncSearchPath, "CC65_HOME", "include");
|
||||
|
||||
/* Add some compiled-in search paths if defined at compile time. */
|
||||
#if defined(CC65_INC) && !defined(_WIN32)
|
||||
#if defined(CC65_INC) && !defined(_WIN32) && !defined(_AMIGA)
|
||||
AddSearchPath (SysIncSearchPath, CC65_INC);
|
||||
#endif
|
||||
|
||||
|
@ -1216,7 +1216,7 @@ static void OptPrintTargetPath (const char* Opt attribute ((unused)),
|
||||
|
||||
SearchPaths* TargetPaths = NewSearchPath ();
|
||||
AddSubSearchPathFromEnv (TargetPaths, "CC65_HOME", "target");
|
||||
#if defined(CL65_TGT) && !defined(_WIN32)
|
||||
#if defined(CL65_TGT) && !defined(_WIN32) && !defined(_AMIGA)
|
||||
AddSearchPath (TargetPaths, CL65_TGT);
|
||||
#endif
|
||||
AddSubSearchPathFromBin (TargetPaths, "target");
|
||||
|
@ -88,13 +88,13 @@ void InitSearchPaths (void)
|
||||
AddSubSearchPathFromEnv (CfgDefaultPath, "CC65_HOME", "cfg");
|
||||
|
||||
/* Add some compiled-in search paths if defined at compile time. */
|
||||
#if defined(LD65_LIB) && !defined(_WIN32)
|
||||
#if defined(LD65_LIB) && !defined(_WIN32) && !defined(_AMIGA)
|
||||
AddSearchPath (LibDefaultPath, LD65_LIB);
|
||||
#endif
|
||||
#if defined(LD65_OBJ) && !defined(_WIN32)
|
||||
#if defined(LD65_OBJ) && !defined(_WIN32) && !defined(_AMIGA)
|
||||
AddSearchPath (ObjDefaultPath, LD65_OBJ);
|
||||
#endif
|
||||
#if defined(LD65_CFG) && !defined(_WIN32)
|
||||
#if defined(LD65_CFG) && !defined(_WIN32) && !defined(_AMIGA)
|
||||
AddSearchPath (CfgDefaultPath, LD65_CFG);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user