z80: Fix z80sim build system
This commit is contained in:
parent
3544fc1fd6
commit
dfd972a534
|
@ -21,6 +21,9 @@
|
|||
# Tools
|
||||
# CFLAGS, CPPFLAGS, ASFLAGS, LDFLAGS are set in $(TOPDIR)/Make.defs
|
||||
|
||||
ARCH_SRCDIR = $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src
|
||||
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(ARCH_SRCDIR)$(DELIM)}
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(ARCH_SRCDIR)$(DELIM)chip}
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(ARCH_SRCDIR)$(DELIM)common}
|
||||
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)sched}
|
||||
|
|
|
@ -348,6 +348,10 @@ int main(int argc, char **argv, char **envp)
|
|||
wintool = true;
|
||||
#endif
|
||||
}
|
||||
else if (compiler == COMPILER_SDCC)
|
||||
{
|
||||
cmdarg = "-I";
|
||||
}
|
||||
else
|
||||
{
|
||||
cmdarg = (pathtype == SYSTEM_PATH) ? "-isystem" : "-I";
|
||||
|
|
Loading…
Reference in New Issue