From 66bc551a956717b3de4817e5d15495c02451cf2f Mon Sep 17 00:00:00 2001 From: superturbocat2001 Date: Mon, 21 Sep 2020 17:55:18 +0000 Subject: [PATCH] add makefile template git-svn-id: svn://kolibrios.org@8076 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/shell/.makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 programs/system/shell/.makefile diff --git a/programs/system/shell/.makefile b/programs/system/shell/.makefile new file mode 100644 index 0000000000..eda284be47 --- /dev/null +++ b/programs/system/shell/.makefile @@ -0,0 +1,17 @@ +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)