reorganize everything

This commit is contained in:
Dennis Gunia
2024-06-24 20:38:02 +02:00
parent ea1069e59c
commit 1ed6034d99
3867 changed files with 16188 additions and 13447 deletions

View File

@@ -0,0 +1,20 @@
BUILD_DIR="./build"
SDCC_BIN_DIR="./sdcc/bin"
MEMLOC_CODE="0x8000"
MEMLOC_DATA="0x5000"
build: clean
@mkdir ${BUILD_DIR}
@cd ${BUILD_DIR}
echo "Build main.c"
${SDCC_BIN_DIR}/sdcc \
-mz80 --code-loc ${MEMLOC_CODE} \
--data-loc ${MEMLOC_DATA} -o ${BUILD_DIR} main.c
clean:
#rm -rf ${BUILD_DIR}