28 lines
1.0 KiB
Makefile
28 lines
1.0 KiB
Makefile
#----------------------------------------------------------------------------#
|
|
# GNU GPL OS/K #
|
|
# #
|
|
# Authors: spectral` #
|
|
# NeoX #
|
|
# #
|
|
# Desc: Project Makefile #
|
|
#----------------------------------------------------------------------------#
|
|
|
|
kernel:
|
|
cpp ./Makefile.in > Makefile.out
|
|
python ./build/idttool.py
|
|
make kernel -f Makefile.out.2
|
|
rm Makefile.out Makefile.out.2
|
|
|
|
kernel-asm:
|
|
cpp -D_TO_ASM ./Makefile.in > Makefile.out
|
|
python ./build/idttool.py
|
|
make kernel -f Makefile.out.2
|
|
rm Makefile.out Makefile.out.2
|
|
|
|
tests:
|
|
cpp -D_TESTS ./Makefile.in > Makefile.out
|
|
python ./build/idttool.py
|
|
make tests -f Makefile.out.2
|
|
rm Makefile.out Makefile.out.2
|
|
|