-FILESYSTEMS = fat
-DRIVERS =
-MODULES = Storage/ATA Storage/FDD
-MODULES += Network/NE2000
-MODULES += Display/BochsGA
-MODULES += Filesystems/FS_Ext2
-MODULES += IPStack
-DYNMODS = USB Interfaces/UDI
-
-#DISTROOT = /mnt/AcessHDD/Acess2
-#DISTROOT = ~/Projects/Acess2/Filesystem
-DISTROOT = a:/Acess2
-ACESSDIR = /home/tpg/Projects/Acess2
+COMPILERDIR := $(ACESSDIR)/Externals/Output/$(ARCHDIR)-BUILD/
+PATH := $(COMPILERDIR)bin/ $(PATH)
+
+ifeq ($(PLATFORM),)
+ PLATFORM := default
+endif
+
+# 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
+
+DRIVERS :=
+MODULES :=
+
+MODULES += Filesystems/RAMDisk
+MODULES += Filesystems/Ext2
+MODULES += Filesystems/FAT
+MODULES += Filesystems/NTFS
+MODULES += Storage/LVM
+
+include $(ACESSDIR)/BuildConf/$(ARCH)/$(PLATFORM).mk
+
+MODULES += Input/Keyboard Input/Mouse
+MODULES += IPStack # So the other modules are loaded before it
+#DYNMODS := USB/Core
+#DYNMODS += Filesystems/InitRD
+
+# BUILD_DIST=y - Install to ./Dist
+ifneq ($(BUILD_DIST),)
+ DISTROOT := $(ACESSDIR)/Dist
+ xCP := cp
+ xMKDIR := mkdir -p
+endif