X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Makefile.cfg;h=8c5b59b9f1ff17a35e8da7759f6c73eac4f0700a;hb=48de21e1b27fcb2595aabe2669bdec80567961df;hp=a2e7ccb0687644155f979832619cf86d3d802b9e;hpb=bfa331e20d9dd6fc0b453dad57b3de0d98765221;p=tpg%2Facess2.git diff --git a/Makefile.cfg b/Makefile.cfg index a2e7ccb0..8c5b59b9 100644 --- a/Makefile.cfg +++ b/Makefile.cfg @@ -2,22 +2,24 @@ # Acess2 Build Configuration # -# Source and destination configuration +# Install destination configuration DISTROOT := a:/Acess2 -ACESSDIR := /home/tpg/Projects/Acess2 +xCP := mcopy -D o +xMKDIR := mmd -D s + +ACESSDIR := $(dir $(lastword $(MAKEFILE_LIST))) +ACESSDIR := $(shell cd $(ACESSDIR) && pwd) # Default build programs CC := gcc LD := ld AS := nasm -DISASM := objdump -d +DISASM := objdump -d -S RM := @rm -f STRIP := strip -MKDIR := mkdir +MKDIR := mkdir -p RMDIR := rm -rf lCP := cp -xCP := mcopy -D o -xMKDIR := mmd # Load Architecture settings ifeq ($(ARCH),) @@ -29,6 +31,10 @@ ifeq ($(ARCHDIR),) endif -include $(ACESSDIR)/Makefile.$(ARCHDIR).cfg +# Makefile.user.cfg is not part of the Acess git repo, +# It is for overriding the options in this file +-include $(ACESSDIR)/Makefile.user.cfg + FILESYSTEMS := DRIVERS := MODULES := Storage/ATA Storage/FDD