Skip to content
Snippets Groups Projects
Commit a8f36d65 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

z80 Make.defs: Fixes dependency generation with newest SDCC compiler.

parent 94f3cb00
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ AFLAGS = -x -a -l -o -s -g
SDCCLIB = z80.lib
ASMEXT = .asm
OBJEXT = .o
OBJEXT = .rel
LIBEXT = .lib
EXEEXT = .cmd
......@@ -130,7 +130,7 @@ ifeq ($(CONFIG_WINDOWS_NATIVE),y)
# Windows-native host tools
MKDEP = $(TOPDIR)\tools\mkdeps.exe --winnative
MKDEP = $(TOPDIR)\tools\mkdeps$(HOSTEXEEXT) --winnative
# Use NTFS links or directory copies
......@@ -150,9 +150,13 @@ else
HOSTCFLAGS = -Wall -Wstrict-prototypes -Wshadow -Wundef -g -pipe
HOSTLDFLAGS =
# This is the tool to use for dependencies (i.e., none)
# This is the tool to use for dependencies
MKDEP = $(TOPDIR)$(DELIM)tools$(DELIM)mkwindeps.sh
ifeq ($(WINTOOL),y)
MKDEP = $(TOPDIR)$(DELIM)tools$(DELIM)mkwindeps.sh
else
MKDEP = $(TOPDIR)/tools/mkdeps$(HOSTEXEEXT)
endif
# SDCC for Linux, OSX, or Cygwin understands symbolic links. Windows SDCC
# running under Cygwin does not
......
......@@ -81,7 +81,7 @@ AFLAGS = -x -a -l -o -s -g
SDCCLIB = z80.lib
ASMEXT = .asm
OBJEXT = .o
OBJEXT = .rel
LIBEXT = .lib
EXEEXT = .hex
......@@ -130,7 +130,7 @@ ifeq ($(CONFIG_WINDOWS_NATIVE),y)
# Windows-native host tools
MKDEP = $(TOPDIR)\tools\mkdeps.exe --winnative
MKDEP = $(TOPDIR)\tools\mkdeps$(HOSTEXEEXT) --winnative
# Use NTFS links or directory copies
......@@ -150,9 +150,13 @@ else
HOSTCFLAGS = -Wall -Wstrict-prototypes -Wshadow -Wundef -g -pipe
HOSTLDFLAGS =
# This is the tool to use for dependencies (i.e., none)
# This is the tool to use for dependencies
MKDEP = $(TOPDIR)$(DELIM)tools$(DELIM)mkwindeps.sh
ifeq ($(WINTOOL),y)
MKDEP = $(TOPDIR)$(DELIM)tools$(DELIM)mkwindeps.sh
else
MKDEP = $(TOPDIR)/tools/mkdeps$(HOSTEXEEXT)
endif
# SDCC for Linux, OSX, or Cygwin understands symbolic links. Windows SDCC
# running under Cygwin does not
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment