Closed ghost closed 3 years ago
Is there anyone alive? I think the first variant will be the most suitable, because we don't know the amount of files (so as their role) in include
folder.
Ok. Agree with variant 1
Closed by https://github.com/zxdos/zxuno/pull/86
Contents of assembler files of
firmware
andutils
directories have much in common (and may be in others, I haven't checked it yet). Some shared source code is in.inc
files inutils
directory. What if we move all.inc
files shared with multiple sources into a separate directory in SDK folder? We may use this directory structure (included files below are just an example of usage):Variant 1:
Usage:
sjasmplus
flags:-I${ZXSDK}/include
zcc
flags:-I${ZXSDK}/include
NOTE: In this case there will be a mix of header files (
.def
,.h
) and shared source files (.inc
,.c
) in one place.Variant 2:
Usage:
sjasmplus
flags:-I${ZXSDK}/include -I${ZXSDK}/asm
zcc
flags:-I${ZXSDK}/include -I${ZXSDK}/c
Variant 3:
Usage:
sjasmplus
flags:-I${ZXSDK}/include
zcc
flags:-I${ZXSDK}/include
Variant 4:
Usage:
sjasmplus
flags:-I${ZXSDK}/include -I${ZXSDK}/src/asm
zcc
flags:-I${ZXSDK}/include -I${ZXSDK}/src/c
What do you think?