[LinksOS CVS Commit]kernel Makefile,1.8,1.9 machine.mk,1.6,1.7
Status: Inactive
Brought to you by:
terencevs
|
From: <ke...@to...> - 2003-01-12 21:02:21
|
Update of /cvsroot/linksos/kernel In directory router-internal.tossell.net:/tmp/cvs-serv1966 Modified Files: Makefile machine.mk Log Message: Title: Makefile Opt. and Info Changes: Broke CXX lines into smaller pieces. Added 'its all good' message to end of build. Effects: More configurable. a=kennyt Index: Makefile =================================================================== RCS file: /cvsroot/linksos/kernel/Makefile,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Makefile 12 Jan 2003 18:51:05 -0000 1.8 --- Makefile 12 Jan 2003 21:02:13 -0000 1.9 *************** *** 1,5 **** include machine.mk ! all: kernel kernel: --- 1,7 ---- include machine.mk ! all: clean kernel ! @echo -e "Your build has succeeded! You will find the kernel, complete \n \ ! with multiboot instructions, in ./kernel.bin - Have Fun!" kernel: *************** *** 8,12 **** cd main && make main.o $(LD) -Bstatic -o kernel.bin hal/hal.o boot/boot.o main/main.o -Map main/kernel.map -Ttext 0x100000 --oformat elf32-i386 - # $(CXX) -o kernel.bin hal/hal.o boot/boot.o main/main.o clean: --- 10,13 ---- Index: machine.mk =================================================================== RCS file: /cvsroot/linksos/kernel/machine.mk,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** machine.mk 12 Jan 2003 18:51:05 -0000 1.6 --- machine.mk 12 Jan 2003 21:02:13 -0000 1.7 *************** *** 2,8 **** NOLIBS= -nostdlib -nostdinc -fno-builtin -fno-exceptions # Compilers, etc. LD=ld ! CXX=g++ $(NOLIBS) ASM=as --- 2,11 ---- NOLIBS= -nostdlib -nostdinc -fno-builtin -fno-exceptions + # Global Flags + CXXFLAGS= -pedantic -ansi $(NOLIBS) + # Compilers, etc. LD=ld ! CXX=g++ ASM=as |