|
@@ -96,12 +96,10 @@ endif
|
|
#
|
|
#
|
|
ifeq ($(HOSTOS),cygwin)
|
|
ifeq ($(HOSTOS),cygwin)
|
|
SFX = .exe
|
|
SFX = .exe
|
|
-HOST_CFLAGS += -D__WIN32__
|
|
|
|
else
|
|
else
|
|
SFX =
|
|
SFX =
|
|
endif
|
|
endif
|
|
|
|
|
|
-
|
|
|
|
#
|
|
#
|
|
# Include this after HOSTOS HOSTARCH check
|
|
# Include this after HOSTOS HOSTARCH check
|
|
# so that we can act intelligently.
|
|
# so that we can act intelligently.
|
|
@@ -111,7 +109,7 @@ include $(TOPDIR)/config.mk
|
|
#
|
|
#
|
|
# Use native tools and options
|
|
# 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
|
|
CFLAGS = $(HOST_CFLAGS) $(CPPFLAGS) -O
|
|
AFLAGS = -D__ASSEMBLY__ $(CPPFLAGS)
|
|
AFLAGS = -D__ASSEMBLY__ $(CPPFLAGS)
|
|
CC = $(HOSTCC)
|
|
CC = $(HOSTCC)
|