kolibrios-gitea/programs/system/shell/.makefile
superturbocat2001 66bc551a95 add makefile template
git-svn-id: svn://kolibrios.org@8076 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-09-21 17:55:18 +00:00

18 lines
452 B
Makefile

all:
fasm start.asm start.o
kos32-gcc -c -fno-builtin shell.c
kos32-gcc -c -fno-builtin system/kolibri.c
kos32-gcc -c -fno-builtin system/stdlib.c
kos32-gcc -c -fno-builtin system/string.c
kos32-gcc -c -fno-builtin system/ctype.c
kos32-ld -nostdlib -T kolibri.ld -o shell start.o kolibri.o stdlib.o string.o ctype.o shell.o
kos32-objcopy shell -O binary
clean:
rm -f *.o
rm -f bin/rus/shell
rm -f bin/eng/shell
install:
cp shell $(DIR)