os-k/src/Makefile

28 lines
1.0 KiB
Makefile
Raw Normal View History

#----------------------------------------------------------------------------#
# GNU GPL OS/K #
# #
# Authors: spectral` #
# NeoX #
# #
# Desc: Project Makefile #
#----------------------------------------------------------------------------#
2019-01-02 16:27:12 +01:00
kernel:
cpp ./Makefile.in > Makefile.out
python ./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 ./idttool.py
make kernel -f Makefile.out.2
rm Makefile.out Makefile.out.2
tests:
cpp -D_TESTS ./Makefile.in > Makefile.out
python ./idttool.py
make tests -f Makefile.out.2
rm Makefile.out Makefile.out.2