forked from KolibriOS/kolibrios
add makefile template
git-svn-id: svn://kolibrios.org@8076 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
ce1620f6a1
commit
66bc551a95
17
programs/system/shell/.makefile
Normal file
17
programs/system/shell/.makefile
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user