# Install destination configuration
DISTROOT := a:/Acess2
xCP := mcopy -D o
-xMKDIR := mmd
+xMKDIR := mmd -D s
ACESSDIR := $(dir $(lastword $(MAKEFILE_LIST)))
ACESSDIR := $(shell cd $(ACESSDIR) && pwd)
# Default build programs
-CC := gcc
-LD := ld
+#CC := gcc
+#LD := ld
AS := nasm
DISASM := objdump -d -S
RM := @rm -f
ifeq ($(ARCHDIR),)
ARCHDIR := x86
endif
+ifneq ($(ARCH),host)
-include $(ACESSDIR)/Makefile.$(ARCHDIR).cfg
+endif
# Makefile.user.cfg is not part of the Acess git repo,
# It is for overriding the options in this file