Fixed crt0.o not creating its output directory
[tpg/acess2.git] / Makefile.cfg
index 834f970..8308829 100644 (file)
@@ -4,7 +4,9 @@
 
 # Source and destination configuration
 DISTROOT := a:/Acess2
-ACESSDIR := /home/tpg/Projects/Acess2
+
+ACESSDIR := $(dir $(lastword $(MAKEFILE_LIST)))
+ACESSDIR := $(shell cd $(ACESSDIR) && pwd)
 
 # Default build programs
 CC := gcc
@@ -13,7 +15,7 @@ AS := nasm
 DISASM := objdump -d -S
 RM := @rm -f
 STRIP := strip
-MKDIR := mkdir
+MKDIR := mkdir -p
 RMDIR := rm -rf
 lCP := cp
 xCP := mcopy -D o

UCC git Repository :: git.ucc.asn.au