summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 9115430..d3dcc7d 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -96,12 +96,10 @@ endif
#
ifeq ($(HOSTOS),cygwin)
SFX = .exe
-HOST_CFLAGS += -D__WIN32__
else
SFX =
endif
-
#
# Include this after HOSTOS HOSTARCH check
# so that we can act intelligently.
@@ -111,7 +109,7 @@ include $(TOPDIR)/config.mk
#
# Use native tools and options
#
-CPPFLAGS = -I../include -I.. -DTEXT_BASE=$(TEXT_BASE) -DUSE_HOSTCC
+CPPFLAGS = -idirafter ../include -DTEXT_BASE=$(TEXT_BASE) -DUSE_HOSTCC
CFLAGS = $(HOST_CFLAGS) $(CPPFLAGS) -O
AFLAGS = -D__ASSEMBLY__ $(CPPFLAGS)
CC = $(HOSTCC)